set jscroll background code example Example: jscrollpane set background color pane.getViewport().setBackground(Color.WHITE);