File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes JTable column header spanning multiple columns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable column header spanning multiple columns" Watch "JTable column header spanning multiple columns" New topic
Author

JTable column header spanning multiple columns

robyn byrd
Greenhorn

Joined: Oct 26, 2005
Posts: 9
Can anyone tell me how to create a JTable column header that spans multiple adjacent columns? If this is not possible, can you tell me how to simulate this?
Thanks for your help.
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
http://www.objects.com.au:8088/objects/java/examples/swing/MultiWidthTableHeader.do
Biliang Zhou
Ranch Hand

Joined: Jun 28, 2006
Posts: 43
That's a clean and cool solution. Maybe it should be included in the standard J2SE api...

Or maybe it's already included?
 
Don't get me started about those stupid light bulbs.
 
subject: JTable column header spanning multiple columns
 
Similar Threads
JTable and sorting
JTable
JTable problem
Row header spanning multiple columns in JTable
jtable