private void updateTextured(){
  paintTextured=(root.getClientProperty(UNIFIED_TOOLBAR_LOOK) == Boolean.TRUE);
  if (paintTextured && PlatformUtils.isMac()) {
    if (root.isValid()) {
      throw new IllegalArgumentException("This method only works if the given JRootPane has not yet been realized.");
    }
    root.putClientProperty("apple.awt.brushMetalLook",Boolean.TRUE);
    LookAndFeel.installProperty((JComponent)root.getContentPane(),"opaque",Boolean.FALSE);
  }
 else {
    root.putClientProperty("apple.awt.brushMetalLook",null);
  }
}

private void updateTextured ( ) { paintTextured = ( root . getClientProperty ( UNIFIED_TOOLBAR_LOOK ) == Boolean . TRUE ) ; if ( paintTextured && PlatformUtils . isMac ( ) ) { if ( root . isValid ( ) ) { throw new IllegalArgumentException ( "This method only works if the given JRootPane has not yet been realized." ) ; } root . putClientProperty ( "apple.awt.brushMetalLook" , Boolean . TRUE ) ; LookAndFeel . installProperty ( ( JComponent ) root . getContentPane ( ) , "opaque" , Boolean . FALSE ) ; } else { root . putClientProperty ( "apple.awt.brushMetalLook" , null ) ; } }
set the textured properties .
