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
HELLO WORLD...
[fanfix.git]
/
demos
/
Demo1.java
diff --git
a/demos/Demo1.java
b/demos/Demo1.java
index ada690d6703a14724eea6fd5fec9bda237492258..62fce24c3022bb46560a067d4f56bba97319cd8d 100644
(file)
--- a/
demos/Demo1.java
+++ b/
demos/Demo1.java
@@
-42,7
+42,9
@@
class DemoApplication extends TApplication {
/**
* Public constructor
*/
/**
* Public constructor
*/
- public DemoApplication() {
+ public DemoApplication() throws Exception {
+ super(null, null);
+ /*
try {
ColorTheme theme = new ColorTheme();
TTYSessionInfo tty = new TTYSessionInfo();
try {
ColorTheme theme = new ColorTheme();
TTYSessionInfo tty = new TTYSessionInfo();
@@
-51,6
+53,7
@@
class DemoApplication extends TApplication {
} catch (Exception e) {
e.printStackTrace();
}
} catch (Exception e) {
e.printStackTrace();
}
+ */
}
}
}
}
@@
-64,8
+67,12
@@
public class Demo1 {
* @param args Command line arguments
*/
public static void main(String [] args) {
* @param args Command line arguments
*/
public static void main(String [] args) {
- DemoApplication app = new DemoApplication();
- app.run();
+ try {
+ DemoApplication app = new DemoApplication();
+ app.run();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
}
}
}
}