Modern GUI programs enable you to easily access status information and
functionalities through various menus, toolbars, and information panels.
However, as a program becomes more complex or when users have the possibility
of configuring and extending these components, they tend to get overfilled.
This leads to scrambled or even truncated components.
This article introduces a new container component called ScrollableBar that
can be used as a wrapper for any Swing component. As long as there is enough
space to lay out the contained component, ScrollableBar is completely
transparent. As soon as the available space gets too small, ScrollableBar
will fade in two small arrow buttons on the left and the right side (or on
the top and the bottom if in vertical mode) that can be used to scroll the
underlying component, thus avoiding the above mentioned problems.
ScrollableBar... (more)