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 2005

Tip: Looking for answers? Try searching our database.

Jtable - complex tables.

Thread view: 
farseer - 19 Mar 2005 21:52 GMT
Hi, i am not sure how to describe this, so i will give an example of
what i am trying to do:

Name  Descr   Price  Name  Descr   Price
XXX   XXXX    10     WWW   TTTT    12
YYY   YYYY    23     VVV   TTTT    13
ZZZ   ZZZZ    14     TTT   TTTT    33

Basically, i am trying to create a table that contains three columns.
After a certain number of rows has been displayed, it will then "roll
over" display it's records to the right.  i am not sure how to put this

in proper words, but i hope the example above explains what i am trying

to do.

Anyone have an idea or suggestions on how to do this?
Raymond DeCampo - 20 Mar 2005 14:35 GMT
> Hi, i am not sure how to describe this, so i will give an example of
> what i am trying to do:
[quoted text clipped - 13 lines]
>
> Anyone have an idea or suggestions on how to do this?

JTable takes it cues from JTableModel.  You will have to implement a
JTableModel that does what you want at the right time.  Be sure to fire
the right events when the model changes.

HTH,
Ray

Signature

XML is the programmer's duct tape.



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.