示例#1
0
 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();
 }
示例#2
0
 @Override
 public void show() {
   if (!checkBox.getValue()) super.show();
 }