public boolean isRollover(){
  Boolean rollover=(Boolean)getClientProperty("JToolBar.isRollover");
  if (rollover != null) {
    return rollover.booleanValue();
  }
  return false;
}

public boolean isRollover ( ) { Boolean rollover = ( Boolean ) getClientProperty ( "JToolBar.isRollover" ) ; if ( rollover != null ) { return rollover . booleanValue ( ) ; } return false ; }
returns the rollover state .
