diff options
Diffstat (limited to 'qtjava/javalib/examples/demo/widgets/Main.java')
-rw-r--r-- | qtjava/javalib/examples/demo/widgets/Main.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/qtjava/javalib/examples/demo/widgets/Main.java b/qtjava/javalib/examples/demo/widgets/Main.java new file mode 100644 index 00000000..f78ca26d --- /dev/null +++ b/qtjava/javalib/examples/demo/widgets/Main.java @@ -0,0 +1,20 @@ +import org.kde.qt.*; + +public class Main { + + public static void main(String[] args) + { + QApplication a = new QApplication(args); + WidgetsBase widgets = new WidgetsBase(); + + a.setMainWidget( widgets ); + widgets.show(); + a.exec(); + + return; + } + + static { + qtjava.initialize(); + } +} |