Example usage for javax.swing.undo StateEditable interface-usage

List of usage examples for javax.swing.undo StateEditable interface-usage

Introduction

In this page you can find the example usage for javax.swing.undo StateEditable interface-usage.

Usage

From source file UndoableToggleApp4.java

public class UndoableToggleApp4 extends JFrame implements StateEditable {

    private JToggleButton tog = new JToggleButton("ToggleButton");

    private JCheckBox cb = new JCheckBox("CheckBox");

From source file UndoableToggleApp4.java

public class UndoableToggleApp4 extends JFrame implements StateEditable {

    private JToggleButton tog;

    private JCheckBox cb;

From source file UndoableDrawingPanel.java

public class UndoableDrawingPanel extends JPanel implements StateEditable {
    private static String POLYGON_KEY = "Polygon";

    UndoableEditSupport undoableEditSupport = new UndoableEditSupport(this);

    Polygon polygon = new Polygon();

From source file UndoableDrawingPanel2.java

public class UndoableDrawingPanel2 extends JPanel implements StateEditable {
    private static String POLYGON_KEY = "Polygon";

    UndoableEditSupport undoableEditSupport = new UndoableEditSupport(this);

    Polygon polygon = new Polygon();