public void setActionPanelVisible(boolean visible) { if (myActionPanel != null) { myActionPanel.setVisible(visible); } }