textField.setEditable ( show );
preview.setText ( show ? parseToMultilineHtml ( textField.getText () ) : "" );
}
} );
textField.setLeadingComponent ( showText );
toolBar.addFill ( textField );
final WebButton chooseColor = new WebButton ( FOREGROUND_COLOR_ICON );
chooseColor.setLanguage ( "weblaf.ex.npeditor.preview.foregroundColor" );
preview.setForeground ( SettingsManager.get ( "NinePatchEditor", "preview.foregroundColor", Color.WHITE ) );