25 lines
515 B
Java
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);
|
|
});
|
|
}
|
|
} |