26 lines
578 B
Java
26 lines
578 B
Java
package treeEdit;
|
|
|
|
import java.awt.*;
|
|
import javax.swing.*;
|
|
|
|
/**
|
|
* This program demonstrates tree editing.
|
|
* @version 1.03 2007-08-01
|
|
* @author Cay Horstmann
|
|
*/
|
|
public class TreeEditTest
|
|
{
|
|
public static void main(String[] args)
|
|
{
|
|
EventQueue.invokeLater(new Runnable()
|
|
{
|
|
public void run()
|
|
{
|
|
JFrame frame = new TreeEditFrame();
|
|
frame.setTitle("TreeEditTest");
|
|
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
|
frame.setVisible(true);
|
|
}
|
|
});
|
|
}
|
|
} |