git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TTreeView compiles
[fanfix.git]
/
src
/
jexer
/
demos
/
DemoMainWindow.java
diff --git
a/src/jexer/demos/DemoMainWindow.java
b/src/jexer/demos/DemoMainWindow.java
index cff9bbdbbee180ff2f8706ac194035cb38731971..c2f77e80882b95d509636d5a2173950a4a960cd9 100644
(file)
--- a/
src/jexer/demos/DemoMainWindow.java
+++ b/
src/jexer/demos/DemoMainWindow.java
@@
-38,7
+38,7
@@
import jexer.menu.*;
* This is the main "demo" application window. It makes use of the TTimer,
* TProgressBox, TLabel, TButton, and TField widgets.
*/
* This is the main "demo" application window. It makes use of the TTimer,
* TProgressBox, TLabel, TButton, and TField widgets.
*/
-class DemoMainWindow extends TWindow {
+
public
class DemoMainWindow extends TWindow {
// Timer that increments a number.
private TTimer timer;
// Timer that increments a number.
private TTimer timer;
@@
-153,17
+153,17
@@
class DemoMainWindow extends TWindow {
}
row += 2;
}
row += 2;
- /*
if (!isModal()) {
addLabel("Tree views", 1, row);
addButton("Tree&View", 35, row,
if (!isModal()) {
addLabel("Tree views", 1, row);
addButton("Tree&View", 35, row,
- {
- new DemoTreeViewWindow(application);
+ new TAction() {
+ public void DO() {
+ new DemoTreeViewWindow(getApplication());
+ }
}
);
}
row += 2;
}
);
}
row += 2;
- */
if (!isModal()) {
addLabel("Terminal", 1, row);
if (!isModal()) {
addLabel("Terminal", 1, row);