Confuse on how to add a row at jTable1 netbeans.

zam

Joined
Mar 7, 2009
Messages
2
Reaction score
0
Hello,
I've problem in adding a row for the jTable. I had read lots of forums and not yet successful so far. Sad

I vaguely understand that i need to create the a table model in order for me to add the row. Confuse right now. Other than that i need to fully control the activity on the table.

If i select a jTable from the pallette and put on the Form, then i need to link the table model to this jTable?

When i looked to the defaulttablemodel class, there is a method for addRow.. This method cannot be used?? So confuse right now.. anyone can help?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top