Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable column header height problem

 
Barry Brashear
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out the multi line header example

D.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic