I placed a JTable, on a JScrollPane on a JInternalFrame, using the default DefaultTableModel.
When I try and load data into the model I get a java.lang.NullPointerException. scriptTable.setValueAt(num, row, 2); The table is initialized in the constructor method InitComponents. Any idea what I’m doing wrong? Best Regards, Michael