Panel panel = new Panel(null, null);
panel.setProperty("border", BorderFactory.createEmptyBorder(1, 1, 1, 1));
Button button = new Button(panel, null);
button.setProperty("text", "Edit ...");
button.addListener("clicked", name, new GUIEventListener() {
int counter = 0;
public void eventOccured(GUIEvent event) {
counter++;
if (counter > 1) {