This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JTable column header height problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable column header height problem" Watch "JTable column header height problem" New topic
Author

JTable column header height problem

Barry Brashear
Ranch Hand

Joined: Jun 05, 2001
Posts: 303
I have a JTable with column headers that consists of multiple headers that
have 1 word over another as in the following :

Verifying Verifying
Employee Supervisor

The problem is the that both words in the title are not showing up because
the height of the header is not big enough. I also want the title to be
centered.

Thanks.
Don Kiddick
Ranch Hand

Joined: Dec 12, 2002
Posts: 580
Check out the multi line header example

D.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JTable column header height problem
 
Similar Threads
JTable
JTable related problem
How do you increase the size of a JTable header
Resize column width for JTable with headers?
Jtable