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 / GUI / December 2004

Tip: Looking for answers? Try searching our database.

how to create a spanning cell in JTable...     or any alternative for grid data representation

Thread view: 
halfboy - 21 Dec 2004 13:36 GMT
I want to display some data in grid.. so I chose JTable. I want to use some row
as header, so it takes up whole column space, and for other rows may can take up
2 or 3 column space.

I've searched similar discussion in google group, but their solution is neither
simple nor compilable on my system, probably pre JDK1.2 code.

I'd like to know if anyone know how to create a spanning cell in JTable on
JDK1.4.

Or is there any alternative to JTable for grid data representation? I'd like to
display grid of course.

Thank you
The Grim Reaper - 21 Dec 2004 19:00 GMT
> I want to display some data in grid.. so I chose JTable. I want to use some row
> as header, so it takes up whole column space, and for other rows may can take up
[quoted text clipped - 10 lines]
>
> Thank you

I do not think you can span cells using a JTable.  Have you considered using
tables within tables ?
halfboy - 22 Dec 2004 01:36 GMT
>> I want to display some data in grid.. so I chose JTable. I want to use
>some row
[quoted text clipped - 17 lines]
>I do not think you can span cells using a JTable.  Have you considered using
>tables within tables ?

I guess that's one possible solution. Have you done it before?
I'd appreciate if you can show me some sample code.


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.