All things are lawful, but not all things are profitable.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
azza guirat wrote:...jtable is the table which i made in the interface i think that is default initized that's why i did not know how to initialize or should iinitialize the table which result fro Fro ResultTableModel
All things are lawful, but not all things are profitable.
All things are lawful, but not all things are profitable.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Rob Spoor wrote:Try switching the table and initComponent method calls. Now you're trying to use jtable1 inside the table method, but it's most likely initialized inside the initComponents method. And if this code is generated by an IDE like I think it is, then initComponents will not try to use any non-UI fields like rs.
All things are lawful, but not all things are profitable.
All things are lawful, but not all things are profitable.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |