Examples of AncestorAdapter


Examples of com.alee.utils.swing.AncestorAdapter

        };
        progressBar.addPropertyChangeListener ( "indeterminate", propertyChangeListener );
        progressBar.addPropertyChangeListener ( "enabled", propertyChangeListener );

        updateAnimator ( progressBar );
        c.addAncestorListener ( new AncestorAdapter ()
        {
            @Override
            public void ancestorAdded ( final AncestorEvent event )
            {
                updateAnimator ( progressBar );
View Full Code Here

Examples of com.samskivert.swing.event.AncestorAdapter

        _send.setActionCommand("send");
        epanel.add(_send, GroupLayout.FIXED);
        add(epanel, GroupLayout.FIXED);

        // listen to ancestor events to request focus when added
        addAncestorListener(new AncestorAdapter() {
            @Override
            public void ancestorAdded (AncestorEvent e) {
                if (_focus) {
                    _entry.requestFocusInWindow();
                }
View Full Code Here

Examples of de.sciss.app.AncestorAdapter

      Action          a;

      spring      = new SpringPanel( 4, 2, 4, 2 );
      ggMarkName    = new JTextField( 24 );
//      GUIUtil.setInitialDialogFocus( ggMarkName );  // removes itself automatically
      ggMarkName.addAncestorListener( new AncestorAdapter() {
        public void ancestorAdded( AncestorEvent e ) {
          ggMarkName.requestFocusInWindow();
          ggMarkName.selectAll();
//          c.removeAncestorListener( this );
        }
View Full Code Here

Examples of de.sciss.app.AncestorAdapter

   *
   *  @param  c  the component to make focussed once its parent container is shown
   */
  public static void setInitialDialogFocus( final JComponent c )
  {
    c.addAncestorListener( new AncestorAdapter() {
      public void ancestorAdded( AncestorEvent e ) {
        c.requestFocusInWindow();
        c.removeAncestorListener( this );
      }
    });
View Full Code Here

Examples of de.sciss.app.AncestorAdapter

      Action          a;

      spring      = new SpringPanel( 4, 2, 4, 2 );
      ggMarkName    = new JTextField( 24 );
//      GUIUtil.setInitialDialogFocus( ggMarkName );  // removes itself automatically
      ggMarkName.addAncestorListener( new AncestorAdapter() {
        public void ancestorAdded( AncestorEvent e ) {
          ggMarkName.requestFocusInWindow();
          ggMarkName.selectAll();
//          c.removeAncestorListener( this );
        }
View Full Code Here

Examples of org.intellij.erlang.utils.AncestorAdapter

        assert optionsEditor != null;
        SearchableConfigurable erlangExternalToolsConfigurable = optionsEditor.findConfigurableById(ErlangExternalToolsConfigurable.ERLANG_RELATED_TOOLS);
        optionsEditor.select(erlangExternalToolsConfigurable);
      }
    });
    myRootPanel.addAncestorListener(new AncestorAdapter() {
      @Override
      public void ancestorAdded(AncestorEvent event) {
        reset();
      }
    });
View Full Code Here

Examples of org.oxbow.swingbits.util.swing.AncestorAdapter

      if ( defaultChoice >= 0 && defaultChoice < choices.size()) {
        bGroup.setSelected(models.get(defaultChoice), true);

        // make sure that selected button is focused
        p.addAncestorListener( new AncestorAdapter() {

          @Override
          public void ancestorAdded(AncestorEvent event) {
            buttons.get(defaultChoice).requestFocusInWindow();
          }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.