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