Beispiel #1
0
 private void createLabel(Component container, String key, String value) {
   Hbox box = new Hbox();
   box.setParent(container);
   new Label(key + ": ").setParent(box);
   Label label = new Label(value != null ? value : "NULL");
   label.setClass(key);
   label.setParent(box);
 }
Beispiel #2
0
 public void showMessage(String msg, String sclass) {
   label.setValue(msg);
   label.setClass(sclass);
   label.setVisible(true);
 }