package presentation; public class TestTableApp { boolean packFrame = false; //Construct the application public TestTableApp() { TableTestFrame frame = new TableTestFrame(); //Pack frames that have useful preferred size info, e.g. from their layout //Validate frames that have preset sizes if (packFrame) frame.pack(); else frame.validate(); frame.setVisible(true); } //Main method public static void main(String[] args) { new TestTableApp(); } }