private boolean isPaintLineSeperators(JComponent c){
  boolean paintLines=c instanceof JTextArea;
  String globalOverride=System.getProperty("SeaGlass.JTextArea.drawLineSeparator");
  if (globalOverride != null && globalOverride.length() > 0) {
    paintLines=Boolean.valueOf(globalOverride);
  }
  Boolean overrideProperty=(Boolean)c.getClientProperty("SeaGlass.JTextArea.drawLineSeparator");
  if (overrideProperty != null) {
    paintLines=overrideProperty;
  }
  return paintLines;
}

private boolean isPaintLineSeperators ( JComponent c ) { boolean paintLines = c instanceof JTextArea ; String globalOverride = System . getProperty ( "SeaGlass.JTextArea.drawLineSeparator" ) ; if ( globalOverride != null && globalOverride . length ( ) > 0 ) { paintLines = Boolean . valueOf ( globalOverride ) ; } Boolean overrideProperty = ( Boolean ) c . getClientProperty ( "SeaGlass.JTextArea.drawLineSeparator" ) ; if ( overrideProperty != null ) { paintLines = overrideProperty ; } return paintLines ; }
test if we should also paint the line seperators .
