26 lines
604 B
Java
26 lines
604 B
Java
package splitPane;
|
|
|
|
import java.awt.*;
|
|
import javax.swing.*;
|
|
|
|
/**
|
|
* This program demonstrates the split pane component organizer.
|
|
* @version 1.03 2007-08-01
|
|
* @author Cay Horstmann
|
|
*/
|
|
public class SplitPaneTest
|
|
{
|
|
public static void main(String[] args)
|
|
{
|
|
EventQueue.invokeLater(new Runnable()
|
|
{
|
|
public void run()
|
|
{
|
|
JFrame frame = new SplitPaneFrame();
|
|
frame.setTitle("SplitPaneTest");
|
|
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
|
frame.setVisible(true);
|
|
}
|
|
});
|
|
}
|
|
} |