Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to update MenuBar at runtime?
How to update MenuBar at runtime? [message #1236798] Tue, 28 January 2014 04:59
Gennady Gromov is currently offline Gennady GromovFriend
Messages: 24
Registered: May 2011
Junior Member
I need to update an existing menu bar of a Shell at runtime. But I found it is absolutely impossible. I can't to change menu bar to another menu bar, I can't to hide existing menu by setVisible(false), it is impossible to add menu items. It works only the setEnabled().
How to update the menu bar? (I work with Windows 7)

Thank you.
Previous Topic:Compilation of HelloWorldSWT fails with "no swt-gtk-4333 in java.library.path"
Next Topic:Call Thread SWT from Swing
Goto Forum:

Current Time: Mon Apr 23 23:30:50 GMT 2018

Powered by FUDForum. Page generated in 0.01625 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software