jtable fill panel

Solutions on MaxInterview for jtable fill panel by the best coders in the world

showing results for - "jtable fill panel"
Valery
30 Sep 2019
1JFrame frame = new JFrame();
2// set up frame
3
4JTable table = new JTable();
5// Set up table, add data
6
7// Frame has a content pane with BorderLayout by default
8frame.getContentPane().add( new JScrollPane( table ), BorderLayout.CENTER );