height of the Table Header

Hi,I want to increase the height of the Table header .Is it possible in anyway?Say for eaxample I can increase the row heightand coulmn height by using: setRowHeight()or set setPreferredWidth().Thanks
[263 byte] By [shailaU] at [2007-9-26 2:40:13]
# 1
Hi,You migth try to get the JTable HeaderRenderer and resize it using setBounds(..)!JRG
j-rg at 2007-6-29 10:13:59 > top of Java-index,Archived Forums,Swing...
# 2
Maybe this could be useful... http://www2.gol.com/users/tame/swing/examples/JTableExamples1.html http://www2.gol.com/users/tame/swing/examples/src/examples/MultiLineHeaderExample.javaJRG
j-rg at 2007-6-29 10:13:59 > top of Java-index,Archived Forums,Swing...
# 3
Thanks to both of you. I solved the problem.
shailaU at 2007-6-29 10:13:59 > top of Java-index,Archived Forums,Swing...
# 4
... there only me ;0)))... how did you solve the problem?JRG
j-rg at 2007-6-29 10:13:59 > top of Java-index,Archived Forums,Swing...
# 5

Sorry...:):)

I saw two answers ...and didn't notice that they were posted by the

same person....:)

I used the swing examples from the site you mentioned, modified a

little and it worked just fine for me.

Now I'm struggling with adding combobox and editable header

in the table headers...using the examples from there.

Thanks anyway.

shailaU at 2007-6-29 10:13:59 > top of Java-index,Archived Forums,Swing...
# 6
...coolll... so you are out of danger!! ;0)))Take care,JRG
j-rg at 2007-6-29 10:13:59 > top of Java-index,Archived Forums,Swing...