Example usage for javax.swing.event DocumentEvent toString

List of usage examples for javax.swing.event DocumentEvent toString

Introduction

In this page you can find the example usage for javax.swing.event DocumentEvent toString.

Prototype

public String toString() 

Source Link

Document

Returns a string representation of the object.

Usage

From source file:DocumentListenerDemo.java

public void insertUpdate(DocumentEvent e) {
    label.setText(e.toString());
}

From source file:DocumentListenerDemo.java

public void removeUpdate(DocumentEvent e) {
    label.setText(e.toString());
}