Custom Scroll Component
Posted on 2004-10-02
I have a JPanel that is always a specific height, but now always a specific width.
I have 2 JButtons with arrow Images on them (one pointing each way)
What is the EASIEST way to use the two buttons to scroll the JPanel?
Please include an example of a component that would do this (stubbing out actionPerformed, etc is fine).
<- jpanel ->
Note: I do not want any other scrollbars to be visible, just the two image buttons, thanks.