Question: how rows are inserted in jtable?
Answer: JTable table = new JTable(new DefaultTableModel(new Object[]{"Column1", "Column2"})); To add a row: DefaultTableModel model = (DefaultTableModel) table. ... addRow(new Object[]{"Column 1", "Column 2", "Column 3"});