Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Scrollable toolbar

 
Sujatha Rangarajan
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic