146147148149150151152153154
buttonBar = new ButtonBar(); buttonBar.setButtonAlign(HorizontalAlignment.RIGHT); setButtonBar(buttonBar); buttonBar.add(searchButton); buttonBar.add(new FillButton()); buttonBar.add(closeButton); buttonBar.add(addButton); }
186187188189190191192193194195196
} }); roomField.setWidth(250); topBar.add(new ButtonAdapter(roomField)); topBar.add(new FillButton()); topBar.add(refreshButton); this.setTopComponent(topBar); //main.add(roomField,new RowData(1,-1)); main.add(roomGrid,new RowData(1,1)); add(main);