File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Swing / AWT / SWT
SWT: Menu in CTabItem/CTabFolder or TabItem/TabFolder
Joined: Aug 04, 2000
Jul 16, 2010 23:34:22
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?
I agree. Here's the link:
subject: SWT: Menu in CTabItem/CTabFolder or TabItem/TabFolder
BEA WebLogic Container Security
How to minimize/maximize/restore CTabFolder
TabFolder / TabItem Code Organsiation
SWT - rearrange the order of CTabItem
SWT -> TabItem -> addListener
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015