Example usage for java.awt.event FocusListener interface-usage

List of usage examples for java.awt.event FocusListener interface-usage

Introduction

In this page you can find the example usage for java.awt.event FocusListener interface-usage.

Usage

From source file Main.java

public class Main extends JPanel implements FocusListener {
    public Main() {
        JTextField textField = new JTextField("A TextField");
        textField.addFocusListener(this);
        JLabel label = new JLabel("A Label");
        label.addFocusListener(this);

From source file Main.java

public class Main extends JPanel implements FocusListener {
    public Main() {
        JTextField textField = new JTextField("A TextField");
        textField.addFocusListener(this);
        JLabel label = new JLabel("A Label");
        label.addFocusListener(this);

From source file UndoableTextArea.java

class UndoableTextArea extends JTextArea implements UndoableEditListener, FocusListener, KeyListener {
    private UndoManager m_undoManager;

    public UndoableTextArea() {
        this(new String());
    }

From source file Main.java

class TextPrompt extends JLabel implements FocusListener, DocumentListener {
    JTextComponent component;
    Document document;

    public TextPrompt(String text, JTextComponent component) {
        this.component = component;

From source file com.floreantpos.swing.FocusedTextField.java

public class FocusedTextField extends JTextField implements FocusListener {

    public FocusedTextField() {
        init();
    }

From source file cool.pandora.modeller.ui.jpanel.base.OrganizationProfileForm.java

/**
 * OrganizationProfileForm.
 *
 * @author gov.loc
 */
public class OrganizationProfileForm extends AbstractForm implements FocusListener {

From source file tvbrowser.ui.mainframe.searchfield.SearchTextField.java

/**
 * The TextField for the Search in the Toolbar
 * @author bodum
 */
public class SearchTextField extends JTextField implements FocusListener {
    /** The localizer of this class. */

From source file com.github.fritaly.dualcommander.TabbedPane.java

public class TabbedPane extends JTabbedPane implements KeyListener, ChangeListener, FocusListener {

    private static final long serialVersionUID = 8522448669013461274L;

    private final Logger logger = Logger.getLogger(this.getClass());

From source file scannerapplication.scannerapps.java

/**
 *
 * @author user1
 */
@SuppressWarnings("serial")
public class scannerapps extends javax.swing.JFrame implements java.awt.event.FocusListener,

From source file org.xulux.swing.listeners.PrePostFieldListener.java

/**
 * Maybe use some kind of cache to see what next event comes through??
 * Functionality like hasWaitingRequests() or something like that.
 * Also if a user closes the window, widget.destroy should be called
 * 
 * @todo Find a better way to handle the concel button.