This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Double line column header problem in SWT
 
It's not a secret anymore!