Hi Michael,

without more information it is very difficult to say. It could be that
either scriptTable, num, or row is not set.

I would try to use the debugger to find out.

Helmut

Am 26.06.2019 um 01:20 schrieb mmo...@me.com.INVALID:
> 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

<<attachment: h_leininger.vcf>>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to