);
}
row += 2;
+ */
if (!isModal()) {
addLabel("Terminal", 1, row);
addButton("Termi&nal", 35, row,
- {
- getApplication().openTerminal(0, 0);
+ new TAction() {
+ public void DO() {
+ getApplication().openTerminal(0, 0);
+ }
}
);
}
row += 2;
- */
progressBar = addProgressBar(1, row, 22, 0);
row++;
timerLabel = addLabel("Timer", 1, row);
- timer = getApplication().addTimer(100, true,
+ timer = getApplication().addTimer(250, true,
new TAction() {
public void DO() {
timerI++;
}
progressBar.setValue(timerI);
- DemoMainWindow.this.setRepaint();
}
}
);