final WebDynamicMenuItem item = new WebDynamicMenuItem ( icon, new ActionListener ()
{
@Override
public void actionPerformed ( final ActionEvent e )
{
final WebLookAndFeelDemo p = WebLookAndFeelDemo.getInstance ();
NotificationManager.showInnerNotification ( p, "Menu #" + number + " clicked", icon ).setDisplayTime ( 3000 );
}
} );
item.setMargin ( new Insets ( 8, 8, 8, 8 ) );
item.setPaintBorder ( drawBorder.isSelected () );