Exemplo n.º 1
0
 void newDinner(Dinner dinner) {
   this.dinner = dinner;
   if (dinner != null) {
     formFieldBindings = BeanFieldGroup.bindFieldsBuffered(dinner, this);
     dinnerDate.focus();
   }
   setVisible(dinner != null);
 }
Exemplo n.º 2
0
 public void cloneDinner(Button.ClickEvent event) {
   dinnerDate.setEnabled(true);
   dinnerDate.focus();
 }