Example usage for java.beans PropertyChangeListener interface-usage

List of usage examples for java.beans PropertyChangeListener interface-usage

Introduction

In this page you can find the example usage for java.beans PropertyChangeListener interface-usage.

Usage

From source file DragPictureDemo2.java

class TransferActionListener implements ActionListener, PropertyChangeListener {
    private JComponent focusOwner = null;

    public TransferActionListener() {
        KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager();
        manager.addPropertyChangeListener("permanentFocusOwner", this);

From source file Converter.java

class ConversionPanel extends JPanel implements ActionListener, ChangeListener, PropertyChangeListener {
    JFormattedTextField textField;
    JComboBox unitChooser;
    JSlider slider;
    ConverterRangeModel sliderModel;
    Converter controller;

From source file DialogDemo.java

class CustomDialog extends JDialog implements ActionListener, PropertyChangeListener {
    private String typedText = null;
    private JTextField textField;
    private DialogDemo dd;

    private String magicWord;