{
super();
final SimpleCalcPanel calc = new SimpleCalcPanel();
DockPanel calcPanel = new DockPanel();
calcPanel.setStyleName("popupCalc-panel");
HorizontalPanel actionButtons = new HorizontalPanel();
actionButtons.setStyleName("popupCalc-actionButtons");
Button doneBtn = new Button("DONE");
doneBtn.setStyleName("popupCalc-doneButton");
actionButtons.add(doneBtn);
Button cancelBtn = new Button("CANCEL");
cancelBtn.setStyleName("popupCalc-cancelButton");
actionButtons.add(cancelBtn);
calcPanel.add(actionButtons, DockPanel.SOUTH);
calcPanel.add(calc, DockPanel.CENTER);
final PopupPanel popup = this;
popup.add(calcPanel);
popup.setVisible(false);