*/
@Override
public Component getPreview ( final WebLookAndFeelDemo owner )
{
// Simple split button
final WebSplitButton splitButton = new WebSplitButton ( "Click me", WebLookAndFeel.getIcon ( 16 ) );
// Menu for split button
final WebPopupMenu popupMenu = new WebPopupMenu ();
popupMenu.add ( new WebMenuItem ( "Menu item 1", WebLookAndFeel.getIcon ( 16 ), Hotkey.ALT_X ) );
popupMenu.add ( new WebMenuItem ( "Menu item 2", Hotkey.D ) );
popupMenu.addSeparator ();
popupMenu.add ( new WebMenuItem ( "Menu item 3", Hotkey.ESCAPE ) );
splitButton.setPopupMenu ( popupMenu );
return new GroupPanel ( splitButton );
}