/** * Implements <code>ApplicationWindow.show</code> method. * * @param isVisible specifies whether the frame is to be visible or not. */ @Override public void setVisible(boolean isVisible) { if (isVisible && configList.getSelectedIndex() < 0) { this.configList.setSelectedIndex(0); } super.setVisible(isVisible); }
/** * Updates the call button appearance and shows/hides this panel. * * @param isVisible indicates if this panel should be shown or hidden */ @Override public void setVisible(boolean isVisible) { if (isVisible) initCallButton(); super.setVisible(isVisible); }