JTable Header's text problem

hi,

i m using the JTable and my JTable header is of three lines means one column have the text more than one line.

when i use the default size of TableHeader then i m not able to see all the three lines of TableHeader text. To overcome this i setted the PreferedSize of Table Header. Now i can able to see all three lines of

TableHeader's text but after setted the Sizes of TableHeader when i go for resizing of TableHeader's column then the Text of TableHeader's Column become very Strange.

So plz let me know that how can i overcome this problem.

[587 byte] By [jaimatadi@12a] at [2007-11-27 6:47:34]
# 1

[nobr]You can use HTML in the header. The trick is that the height of the header is determined by the height of the first column header. So if you want your header to be 3 lines you would do something like:

"<html>Column<br> <br></html>"

[/nobr]

camickra at 2007-7-12 18:20:29 > top of Java-index,Desktop,Core GUI APIs...
# 2
Thanks buddy it solved my problem.
jaimatadi@12a at 2007-7-12 18:20:29 > top of Java-index,Desktop,Core GUI APIs...