aspose file tools
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 Groovy Fundamentals video training course this week in the Groovy 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.
It is sorta covered in the JavaRanch Style Guide.
subject: Scrollable toolbar