Example usage for javax.swing JTextField addPropertyChangeListener

List of usage examples for javax.swing JTextField addPropertyChangeListener

Introduction

In this page you can find the example usage for javax.swing JTextField addPropertyChangeListener.

Prototype

public void addPropertyChangeListener(PropertyChangeListener listener) 

Source Link

Document

Adds a PropertyChangeListener to the listener list.

Usage

From source file:org.openmicroscopy.shoola.agents.imviewer.util.player.MoviePlayerControl.java

/**
 * Adds listeners to a {@link JTextField}. 
 *
 * @param field The component to attach the listeners to.
 *///from   w  w  w  . jav a2s.  co  m
private void attachFieldListeners(JTextField field) {
    field.addFocusListener(this);
    field.addPropertyChangeListener(this);
}