IntelliJ Java IDE
The moose likes Swing / AWT / SWT / JFace and the fly likes Setting height of JTable headers? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply Bookmark "Setting height of JTable headers?" Watch "Setting height of JTable headers?" New topic
Author

Setting height of JTable headers?

Lon Allen
Ranch Hand

Joined: May 24, 2001
Posts: 67
I am wanting to change the height of the column header on a JTable. How can I do this?
Lon Allen
Thomas Suer
Ranch Hand

Joined: Sep 03, 2001
Posts: 50
Please try out this site:
http://www2.gol.com/users/tame/swing/examples/SwingExamples.html
Maybe you find an appropriate example...
Tom
Lon Allen
Ranch Hand

Joined: May 24, 2001
Posts: 67
I created a class that extends JList and implements TableCellRenderer and used the following methods to get my desired results: setFont(), setFixedCellHeight().

Thanks for the help...

Lon
 
 
subject: Setting height of JTable headers?
 
Threads others viewed
JTable Header
JTable "..."
JFrame and JTable
Height of JTable
Multilines in JTable.
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture