This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes SWT: Menu in CTabItem/CTabFolder or TabItem/TabFolder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "SWT: Menu in CTabItem/CTabFolder or TabItem/TabFolder" Watch "SWT: Menu in CTabItem/CTabFolder or TabItem/TabFolder" New topic
Author

SWT: Menu in CTabItem/CTabFolder or TabItem/TabFolder

Bret Waldow
Ranch Hand

Joined: Aug 04, 2000
Posts: 58
Hello,

I'm new to SWT. I can't find an example (or hack one) that allows a Menu to appear in the client area of a CTabItem or a TabItem.

I have a gizmo 'class BrowserPage extends Composite' which sits nicely in a CTabItem. I can put buttons and text fields and the SWT Browser in it, but not a Menu.

So, each tab will have it's own instantiation of the gizmo (a Browser plus some controls), and each gizmo will have it's own menu.

Can anyone provide or point me at some example code showing a Menu in the client pane of a TabItem or CTabItem?

Thanks much,
Bret
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SWT: Menu in CTabItem/CTabFolder or TabItem/TabFolder
 
Similar Threads
BEA WebLogic Container Security
SWT - rearrange the order of CTabItem
TabFolder / TabItem Code Organsiation
SWT -> TabItem -> addListener
How to minimize/maximize/restore CTabFolder