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
stubs for TFileOpenBox, cleanup putStringXY
[fanfix.git]
/
src
/
jexer
/
demos
/
DemoMainWindow.java
diff --git
a/src/jexer/demos/DemoMainWindow.java
b/src/jexer/demos/DemoMainWindow.java
index c2f77e80882b95d509636d5a2173950a4a960cd9..9a834645c5aa6c6176453fc6838dc452ec2b7d6f 100644
(file)
--- a/
src/jexer/demos/DemoMainWindow.java
+++ b/
src/jexer/demos/DemoMainWindow.java
@@
-31,8
+31,6
@@
package jexer.demos;
import jexer.*;
package jexer.demos;
import jexer.*;
-import jexer.event.*;
-import jexer.menu.*;
/**
* This is the main "demo" application window. It makes use of the TTimer,
/**
* This is the main "demo" application window. It makes use of the TTimer,
@@
-158,7
+156,11
@@
public class DemoMainWindow extends TWindow {
addButton("Tree&View", 35, row,
new TAction() {
public void DO() {
addButton("Tree&View", 35, row,
new TAction() {
public void DO() {
- new DemoTreeViewWindow(getApplication());
+ try {
+ new DemoTreeViewWindow(getApplication());
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
}
}
);
}
}
);