Skip to main content

Toolbars

1 reply [Last post]
Anonymous

I now know how to use toolbars in my apps. I want to take it a bit further and be able to turn toolbars on and off, and change their order from my GUI. Does anyone know of any good links, tutorials or articles on the subject? I basically want to create similar functionality to that in NetBeans. Thanks, Jeremy

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vdkuil
Offline
Joined: 2006-02-17

The UIC-project has a nice example of how people can use toolbars. It does exactly what you describe (turn a toolbar on and off) and besides that gives you the possibility to have multiple toolbars (the standard sun solution does not)..

The code to accomplish this is fairly simple...

have a look at:
http://uic.sf.net for more information

or the example

http://uic.sf.net/tutorials/toolbars-test2.jnlp