Hi! everyone, I'm using NetBeans IDE 5.0 and I am triyng to use the
JTable ojbtect that is incorporated, but I can´t add rows!! :s y don't
know why, I can add columns but not rows can anyone help me??
I've searched on the internet, some pages tell me that there is an
.addRow() method, but this objetct doesn´t have it
HELP ME PLEASE! I need yo add rows
Thank you all!!
Chris Smith - 28 Mar 2006 06:42 GMT
> Hi! everyone, I'm using NetBeans IDE 5.0 and I am triyng to use the
> JTable ojbtect that is incorporated, but I can=3Ft add rows!! :s y don't
> know why, I can add columns but not rows can anyone help me??
> I've searched on the internet, some pages tell me that there is an
> .addRow() method, but this objetct doesn=3Ft have it
> HELP ME PLEASE! I need yo add rows
You do this using the model. See the getModel() method.

Signature
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
IchBin - 28 Mar 2006 15:03 GMT
> Hi! everyone, I'm using NetBeans IDE 5.0 and I am triyng to use the
> JTable ojbtect that is incorporated, but I can´t add rows!! :s y don't
[quoted text clipped - 3 lines]
> HELP ME PLEASE! I need yo add rows
> Thank you all!!
Take a peek at the 'The Java Developers Almanac'
http://javaalmanac.com/egs/javax.swing.table/pkg.html
Or better yet look at the
tutorial:http://java.sun.com/docs/books/tutorial/uiswing/components/table.html
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)