public ErrorForm() { super("Error", "600px", "400px"); scroll.add(flow); this.getRootPanel().add(scroll); checkBox = new CheckBox("Do not show this message again"); this.addWidget(checkBox); super.addCloseButton(); }
@Override public void show() { if (!checkBox.getValue()) super.show(); }