protected JButton createRightOneTouchButton(){
  SeaGlassArrowButton b=new SeaGlassArrowButton(SwingConstants.NORTH);
  int oneTouchSize=lookupOneTouchSize();
  b.setName("SplitPaneDivider.rightOneTouchButton");
  b.setMinimumSize(new Dimension(oneTouchSize,oneTouchSize));
  b.setCursor(Cursor.getPredefinedCursor(splitPane.getOrientation() == JSplitPane.HORIZONTAL_SPLIT ? Cursor.E_RESIZE_CURSOR : Cursor.S_RESIZE_CURSOR));
  b.setFocusPainted(false);
  b.setBorderPainted(false);
  b.setRequestFocusEnabled(false);
  b.setDirection(mapDirection(false));
  return b;
}

protected JButton createRightOneTouchButton ( ) { SeaGlassArrowButton b = new SeaGlassArrowButton ( SwingConstants . NORTH ) ; int oneTouchSize = lookupOneTouchSize ( ) ; b . setName ( "SplitPaneDivider.rightOneTouchButton" ) ; b . setMinimumSize ( new Dimension ( oneTouchSize , oneTouchSize ) ) ; b . setCursor ( Cursor . getPredefinedCursor ( splitPane . getOrientation ( ) == JSplitPane . HORIZONTAL_SPLIT ? Cursor . E_RESIZE_CURSOR : Cursor . S_RESIZE_CURSOR ) ) ; b . setFocusPainted ( false ) ; b . setBorderPainted ( false ) ; b . setRequestFocusEnabled ( false ) ; b . setDirection ( mapDirection ( false ) ) ; return b ; }
creates and return an instance of jbutton that can be used to collapse the right component in the split pane .
