Last change
on this file since 19 was 1, checked in by Wouter Pasman, 7 years ago |
Initial import : Genius 9.0.0
|
File size:
729 bytes
|
Rev | Line | |
---|
[1] | 1 | /*
|
---|
| 2 | * NegoGUIApp.java
|
---|
| 3 | */
|
---|
| 4 |
|
---|
| 5 | package genius.gui;
|
---|
| 6 |
|
---|
| 7 | import org.jdesktop.application.SingleFrameApplication;
|
---|
| 8 |
|
---|
| 9 | /**
|
---|
| 10 | * Starts up main panels. Do not use this. Use genius.Application to run the
|
---|
| 11 | * application.
|
---|
| 12 | */
|
---|
| 13 | public class NegoGUIApp extends SingleFrameApplication {
|
---|
| 14 | public static NegoGUIView negoGUIView = null;
|
---|
| 15 |
|
---|
| 16 | /**
|
---|
| 17 | * At startup createFrom and show the main frame of the application.
|
---|
| 18 | */
|
---|
| 19 | @Override
|
---|
| 20 | protected void startup() {
|
---|
| 21 | negoGUIView = new NegoGUIView(this);
|
---|
| 22 | show(negoGUIView);
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | /**
|
---|
| 26 | * run the main application. FIXME gui stuff should be moved out of core.
|
---|
| 27 | *
|
---|
| 28 | * @param args
|
---|
| 29 | * the arguments (command line run)
|
---|
| 30 | */
|
---|
| 31 | public static void run(String[] args) {
|
---|
| 32 | launch(NegoGUIApp.class, args);
|
---|
| 33 | }
|
---|
| 34 |
|
---|
| 35 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.