Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2006

Tip: Looking for answers? Try searching our database.

Individual cell color using JTable

Thread view: 
jpcaballerost@gmail.com - 28 Mar 2006 06:24 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
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-)


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.