final WebButton closeButton = new WebButton ( loadIcon ( "cross2.png" ), new ActionListener ()
{
@Override
public void actionPerformed ( final ActionEvent e )
{
popOver.dispose ();
}
} ).setUndecorated ( true );
popOver.add ( new GroupPanel ( GroupingType.fillMiddle, 4, icon, titleLabel, closeButton ).setMargin ( 0, 0, 10, 0 ) );
popOver.add ( new WebLabel ( "1. This is a custom detached pop-over dialog" ) );
popOver.add ( new WebLabel ( "2. You can move pop-over by dragging it" ) );