Пример #1
0
  public void updateTreeUI() {
    super.updateTreeUI();

    if (this._btnHelpSource_ != null) {
      if (!isAncestorOf(this._btnHelpSource_))
        javax.swing.SwingUtilities.updateComponentTreeUI(this._btnHelpSource_);
    }

    if (this._btnHelpTrack_ != null) {
      if (!isAncestorOf(this._btnHelpTrack_))
        javax.swing.SwingUtilities.updateComponentTreeUI(this._btnHelpTrack_);
    }

    if (this._btnHelpOnlineHome_ != null) {
      if (!isAncestorOf(this._btnHelpOnlineHome_))
        javax.swing.SwingUtilities.updateComponentTreeUI(this._btnHelpOnlineHome_);
    }

    if (this._btnAboutAppli_ != null) {
      if (!isAncestorOf(this._btnAboutAppli_))
        javax.swing.SwingUtilities.updateComponentTreeUI(this._btnAboutAppli_);
    }

    if (this._btnExit_ != null) {
      if (!isAncestorOf(this._btnExit_)) // NOTE: should always be the case
      javax.swing.SwingUtilities.updateComponentTreeUI(this._btnExit_);
    }
  }
Пример #2
0
  @Override
  public void destroy() {
    super.destroy();

    if (this._btnHelpSource_ != null) {
      this._btnHelpSource_.destroy();
      this._btnHelpSource_ = null;
    }

    if (this._btnHelpTrack_ != null) {
      this._btnHelpTrack_.destroy();
      this._btnHelpTrack_ = null;
    }

    if (this._btnHelpOnlineHome_ != null) {
      this._btnHelpOnlineHome_.destroy();
      this._btnHelpOnlineHome_ = null;
    }

    if (this._btnAboutAppli_ != null) {
      this._btnAboutAppli_.destroy();
      this._btnAboutAppli_ = null;
    }

    if (this._btnExit_ != null) {
      this._btnExit_.destroy();
      this._btnExit_ = null;
    }
  }