if (splitPane.isOneTouchExpandable()) { ((BasicArrowButton) rightButton).paint(g); ((BasicArrowButton) leftButton).paint(g); }
  public void paint(Graphics g)  {    //super.paint(g);    Dimension s = getSize();    MetalUtils.fillMetalPattern(splitPane, g, 2, 2, s.width - 4, s.height - 4,                                light, dark);  }