/** * Called to redraw the panel. * * @param g Graphics device to draw the panel to. */ public void paint(Graphics g) { super.paint(g); updateScrollbars(); }