summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/examples/checklists/Main.java
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 17:32:44 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 17:32:44 -0600
commitae2858133ebe92da16e5aab05f0b138de7cf514c (patch)
treef7cb1727753b8e1ada00d9194e11a8b7ed5ccfea /qtjava/javalib/examples/checklists/Main.java
parentf902ad354515ca9294d4fd1b3dcf75953574f1bb (diff)
downloadtdebindings-ae2858133ebe92da16e5aab05f0b138de7cf514c.tar.gz
tdebindings-ae2858133ebe92da16e5aab05f0b138de7cf514c.zip
Fix prior commit
Diffstat (limited to 'qtjava/javalib/examples/checklists/Main.java')
-rw-r--r--qtjava/javalib/examples/checklists/Main.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/qtjava/javalib/examples/checklists/Main.java b/qtjava/javalib/examples/checklists/Main.java
new file mode 100644
index 00000000..263073d3
--- /dev/null
+++ b/qtjava/javalib/examples/checklists/Main.java
@@ -0,0 +1,31 @@
+/***************************************************************************
+* $Id$
+**
+* Copyright (C) 1992-2000 Trolltech AS. All rights reserved.
+**
+* This file is part of an example program for Qt. This example
+* program may be used, distributed and modified without limitation.
+**
+****************************************************************************/
+import org.kde.qt.*;
+
+public class Main {
+
+public static void main( String[] args )
+{
+ TQApplication a = new TQApplication( args );
+
+ CheckLists checklists = new CheckLists();
+ checklists.resize( 650, 350 );
+ checklists.setCaption( "Qt Example - CheckLists" );
+ a.setMainWidget( checklists );
+ checklists.show();
+
+ a.exec();
+ return;
+}
+static {
+ qtjava.initialize();
+}
+
+}