Hi there! I'm new to the list, and to java... I'm trying to fill up a
JTable with the result of an SQL Query...
I create all the Swing components at the beginning of the program, in the
constructor, and I think this may be where the problem is...
I'm trying to use the JTable(Vector data, Vector columns) constructor to
fill up the Jtable after I put all the right information from an database
table in the vectors, using
jtblMyTable = new JTable(data, columns);
And nothing shows up...
If I follow some tutorials that create an instance of JTable using the
same constructors or the (object data, object columns) constructor and
after that add the JTable to the JFrame or whatever container, it works...
But how can I add the data to an already existing JTable??? Just like you
do with other components like JText, JTextArea, etc...
I hope I was clear... Thanks in advance for any help!
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing