"Colspan" on JTable headers

Posted on 2002-04-10
Last Modified: 2010-05-18

Using a JTable is it possible to emulate the following with major table headers spaning over several columns?

(might help to copy to a fixed width font to see the design layout)
| May           | June          | July          |
| 1 | 2 | 3 | 4 | 1 | 2 | 3 | 4 | 1 | 2 | 3 | 4 |
|   |   |   |   |   | x |   |   | x |   |   | x |
|   | x | x | x |   |   | x |   |   | x |   |   |


Question by:malcx
  • 2
LVL 92

Accepted Solution

objects earned 50 total points
ID: 6930869

Author Comment

ID: 6944221
Cheers -  a great link,
sorry for the delay
LVL 92

Expert Comment

ID: 6944303
No worries :-)
Brainbench MVP for Java 1

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
advertisement module in core php 4 145
eclipse java  build path 6 45
Error trying to install RTMT Win7 5 41
Error in @AspectJ Based AOP with Spring 2 1
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now