@Override
 public void addNotify() {
   super.addNotify();
   myGlassPane = IdeGlassPaneUtil.find(this);
   myDisposable = Disposer.newDisposable();
   myGlassPane.addMouseMotionPreprocessor(myListener, myDisposable);
   myGlassPane.addMousePreprocessor(myListener, myDisposable);
 }
Beispiel #2
0
 // {{{ addNotify() method
 @Override
 public void addNotify() {
   super.addNotify();
   EditBus.addToBus(this);
   multiStatus = jEdit.getBooleanProperty("hypersearch-results.multi");
   updateHighlightStatus();
   updateMultiStatus();
 } // }}}
  /** {@inheritDoc} */
  public void addNotify() {
    // We don't try to do anything with the fonts until we know the
    // component is displayable

    setupTitleFont();
    setupDayOfWeekFonts();
    setupDayFonts();
    setupTimeFont();
    setupTodayFont();

    super.addNotify();
  }
  @Override
  public void addNotify() {
    super.addNotify();

    myTextField.addFocusListener(
        new FocusAdapter() {
          @Override
          public void focusGained(FocusEvent e) {
            CustomizableComboBox.this.repaint();
          }

          @Override
          public void focusLost(FocusEvent e) {
            CustomizableComboBox.this.repaint();
          }
        });
  }
Beispiel #5
0
 public void addNotify()
       // wait for the JPanel to be added to the JFrame before starting
     {
   super.addNotify(); // creates the peer
   startGame(); // start the thread
 }
 public void addNotify() {
   super.addNotify();
   requestFocus();
 }