Java Programming
03-27-2009, 05:24 PM
I'm trying to write my own scrollbar by inheriting and overriding JScrollBar. public class GraphScrollBar extends JScrollBar { public GraphScrollBar() { super(JScrollBar.HORIZONTAL); this.setSize(this.getWidth(),50); } public void paintComponent(Graphics g)