private void createHelpPanel()
{
HorizontalPanel hp = new HorizontalPanel();
hp.setSpacing(10);
final ExampleDialog exampleDialog = new ExampleDialog();
Button examples = new Button("Show examples");
examples.addSelectionListener(new SelectionListener<ButtonEvent>()
{
@Override
public void componentSelected(ButtonEvent ce)
{
exampleDialog.setVisible(true);
}
});
hp.add(examples);