예제 #1
0
 /**
  * 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);
 }
예제 #2
0
  /**
   * 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);
  }