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 / September 2006

Tip: Looking for answers? Try searching our database.

DefaultTableColumnModel -- what is it for?

Thread view: 
aloha.kakuikanu - 08 Sep 2006 20:41 GMT
I have java.lang.ArrayIndexOutOfBoundsException: 1 >= 0
raised in javax.swing.table.DefaultTableColumnModel.getColumn
Nothing in the stack trace refers to any of the classes that I defined,
this is why I have no clue how to debug it. To further complicate the
issue, the error is not reproduced consistently. Next, there is no
ColumnModel class anywhere in my implementation; the only classes that
I defined  are TreeTable, and TreeTableModel, and sure enough my
TreeTableModel defines more than 0 columns.

P.S. This stuff seems to be designed by dilletants. Check up javadoc;
what is the description of  DefaultTableColumnModel? "Serialized
objects of this class will not be compatible with future Swing
releases" -- a warning that sits there for 10 years already?
Ralf Seitner - 09 Sep 2006 08:58 GMT
aloha.kakuikanu schrieb:
> I have java.lang.ArrayIndexOutOfBoundsException: 1 >= 0
> raised in javax.swing.table.DefaultTableColumnModel.getColumn
[quoted text clipped - 9 lines]
> objects of this class will not be compatible with future Swing
> releases" -- a warning that sits there for 10 years already?

Hi!
I am not sure, if you really get away with calling the java designers
dilletants...
I you would have a look at the Java-API you saw the
DefaultTableColumnModel is used by JTable.  So look your code for JTable...

bye, Ralf


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.