Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

jtable fill panel

JFrame frame = new JFrame();
// set up frame

JTable table = new JTable();
// Set up table, add data

// Frame has a content pane with BorderLayout by default
frame.getContentPane().add( new JScrollPane( table ), BorderLayout.CENTER );
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jtable #fill #panel
ADD COMMENT
Topic
Name
8+4 =