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 / November 2007

Tip: Looking for answers? Try searching our database.

JTable group by functionality

Thread view: 
Jani Ruohomaa - 23 Nov 2007 20:29 GMT
Hi!

Has anyone managed to make group by functionality to a JTable (like in
Outlook 2003) ?

For example if you have a column with dates and you click the column the
table would be sorted in groups like Today, Yesterday, 2 days ago, Last
week, Last month, Older.
If you would click a column with file sizes the groups would be like
Tiny,Small, Medium,Large, Huge

There would be thicker cell row between the groups with the column
header text + column group text + how many items in group
like for example
File size: Tiny (4 items)
Created: Today (7 items)

I have been trying to do this but it's quite tricky (partly because I am
quite new to Swing and Java)

Br,
Jani
pietia - 24 Nov 2007 10:24 GMT
Jani Ruohomaa pisze:
> Hi!
>
[quoted text clipped - 18 lines]
> Br,
> Jani

Maybe you sholud take a look at jgoodies ?


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.