Examples of FocusRequester


Examples of net.sf.jabref.FocusRequester

    public void actionPerformed(ActionEvent e) {
        Date date = datePicker.getDate();
        if (date != null) {
            editor.setText(Util.easyDateFormat(date));
            // Set focus to editor component after changing its text:
            new FocusRequester(editor.getTextComponent());
        }
    }
View Full Code Here

Examples of net.sf.jabref.FocusRequester

        tf.setName("tf");
    // add action to reset-button. resets tf and requests focus
    reset.addActionListener(new AbstractAction() {
      public void actionPerformed(ActionEvent event) {
        tf.setText("");
        new FocusRequester(tf);
      }
    });

        JPanel main = new JPanel();
        main.setLayout(gbl);
View Full Code Here

Examples of net.sf.jabref.FocusRequester

          }
         
          if (frame.getTabbedPane().getTabCount() > 0) {
        sidePaneManager.toggle(fetcherTitle);
        if (sidePaneManager.isComponentVisible(fetcherTitle)) {
          new FocusRequester(getTextField());
        }
      }         
        }
View Full Code Here

Examples of net.sf.jabref.FocusRequester

        EntryEditor editor = panel.getEntryEditor(entry);
        if (mode != BasePanel.SHOWING_EDITOR) {
            panel.showEntryEditor(editor);
            panel.adjustSplitter();
        }
        new FocusRequester(editor);
    }
View Full Code Here

Examples of net.sf.jabref.FocusRequester

        if (previewActive)
            panel.showPreview(preview);
        else
            panel.hideBottomComponent();
        panel.adjustSplitter();
        new FocusRequester(table);
    }
View Full Code Here

Examples of net.sf.jabref.FocusRequester

    getContentPane().add(mainPanel, BorderLayout.CENTER);
    getContentPane().add(optionsPanel, BorderLayout.SOUTH);
    this.setSize(getSize());
    pack();
    Util.placeDialog(this, owner);
    new FocusRequester(table);
  }
View Full Code Here

Examples of org.apache.jmeter.gui.util.FocusRequester

        if (infinite.isSelected()) {
            loops.setText(""); // $NON-NLS-1$
            loops.setEnabled(false);
        } else {
            loops.setEnabled(true);
            new FocusRequester(loops);
        }
    }
View Full Code Here

Examples of org.apache.jmeter.gui.util.FocusRequester

     *
     * @param event
     *            the event that has occurred
     */
    public void actionPerformed(ActionEvent event) {
        new FocusRequester(theCondition);
    }
View Full Code Here

Examples of org.apache.jmeter.gui.util.FocusRequester

        threadDelayPropsPanel.add(avgDelayPanel);

        add(threadDelayPropsPanel);

        // Set the initial focus to the range field
        new FocusRequester(rangeField);
    }
View Full Code Here

Examples of org.apache.jmeter.gui.util.FocusRequester

        threadDelayPropsPanel.add(avgDelayPanel);
        threadDelayPropsPanel.setMaximumSize(new Dimension(threadDelayPropsPanel.getMaximumSize().width, threadDelayPropsPanel.getPreferredSize().height));
        add(threadDelayPropsPanel);

        // Set the initial focus to the delay field
        new FocusRequester(rangeField);
    }
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.