📜  jtable 填充面板 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:03.432000             🧑  作者: Mango

代码示例1
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 );