@Override
public Component getPreview ( final WebLookAndFeelDemo owner )
{
// Simple 9-patch styling
final NinePatchIcon ninePatchIcon = new NinePatchIcon ( loadIcon ( "simple.9.png" ) );
final NPLabelPainter painter = new NPLabelPainter ( ninePatchIcon );
final WebLabel label = new WebLabel ( "Simple nine-patch file based styling", WebLabel.CENTER );
label.setPainter ( painter ).setMargin ( 5 ).setForeground ( Color.WHITE );
// State-dependant 9-patch styling