Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

"Colspan" on JTable headers

Posted on 2002-04-10
3
Medium Priority
?
1,602 Views
Last Modified: 2010-05-18
Hi,

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 |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+

Cheers,

Mal
0
Comment
Question by:malcx
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 92

Accepted Solution

by:
objects earned 200 total points
ID: 6930869
0
 
LVL 3

Author Comment

by:malcx
ID: 6944221
Cheers -  a great link,
sorry for the delay
Mal
0
 
LVL 92

Expert Comment

by:objects
ID: 6944303
No worries :-)

http://www.objects.com.au
Brainbench MVP for Java 1
http://www.brainbench.com
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
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…
Suggested Courses

715 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