jQuery in Action, 2nd edition*
The moose likes Swing / AWT / SWT and the fly likes Scrollable toolbar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Scrollable toolbar" Watch "Scrollable toolbar" New topic
Author

Scrollable toolbar

Sujatha Rangarajan
Greenhorn

Joined: Jul 19, 2006
Posts: 23
Hi All,

I need to develop an component which uses multiple toolbars.so i need make the toolbar scrollable on minimizing the frame.

is there any open source framework available or any idea to implement it?..

Thanks in advance
Terry Ong
Ranch Hand

Joined: Apr 07, 2006
Posts: 50
Some suggestions...

You may want to check out http://toolbar.tigris.org/
and substitute using "a dropdown toolbar button that allows selection from multiple sub-items." to save space

or write a custom component using a JPanel, JScrollBar, JToolBar.
with something like this
panel.add(toolbar, CENTER);
panel.add(scrollbar, SOUTH);
and add some listners to monitor the size and thus resize your viewport size and stuff. (which is very difficult and timeconsuming IMHO)

Sorry can't do much to help.
Good luck.
 
jQuery in Action, 2nd edition
 
subject: Scrollable toolbar
 
Similar Threads
Button alignment in a JToolbar
opening file to textfield
Icons for Toolbar
JDBC Scrollable ResultSet
DB2 V9.1 for z/OS