Two Laptop Bag*
The moose likes Swing / AWT / SWT and the fly likes Double line column header problem in SWT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Double line column header problem in SWT" Watch "Double line column header problem in SWT" New topic
Author

Double line column header problem in SWT

Jack clouseau
Greenhorn

Joined: May 14, 2008
Posts: 22
Hi all,


I need to set double line column headers in nebula grid. The way it should look is:

--------------
|headerline 1| -> this is the column header with two lines
|headerline 2|
--------------
|row 1|
|row 2|


Since am using nebula grid am not able to display the column header text in 2 lines. Any sugestions on how to solve this issue will be greatful.

Thanks


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea!!!
Henry Zhi Lin
Ranch Hand

Joined: Nov 04, 2008
Posts: 69
Headerstr = Header1+"\n" + Header2


SCJP 5.0
 
jQuery in Action, 2nd edition
 
subject: Double line column header problem in SWT
 
Similar Threads
Tile constraints
Grids with selectable rows in JQuery
2-Dimensional Arrays?
mock question from appliedreasoning.com
Removing lines