This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Scrollable toolbar" Watch "Scrollable toolbar" New topic

Scrollable toolbar

Sujatha Rangarajan

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

I need to develop an component which uses multiple 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
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.
I agree. Here's the link:
subject: Scrollable toolbar
jQuery in Action, 3rd edition