Files
corejava/corejava第10版/v2ch10/tableSelection/TableSelectionTest.java
T
2019-05-22 19:31:49 +08:00

25 lines
515 B
Java

package tableSelection;
/**
@version 1.04 2016-05-10
@author Cay Horstmann
*/
import java.awt.*;
import javax.swing.*;
/**
* This program demonstrates selection, addition, and removal of rows and columns.
*/
public class TableSelectionTest
{
public static void main(String[] args)
{
EventQueue.invokeLater(() ->
{
JFrame frame = new TableSelectionFrame();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
});
}
}