File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!