summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/test/kdatepicker/KDatePickTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/test/kdatepicker/KDatePickTest.java')
-rw-r--r--kdejava/koala/test/kdatepicker/KDatePickTest.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/kdejava/koala/test/kdatepicker/KDatePickTest.java b/kdejava/koala/test/kdatepicker/KDatePickTest.java
new file mode 100644
index 00000000..bf214ca9
--- /dev/null
+++ b/kdejava/koala/test/kdatepicker/KDatePickTest.java
@@ -0,0 +1,26 @@
+import org.kde.qt.*;
+import org.kde.koala.*;
+
+public class KDatePickTest {
+
+
+ public static void main (String[] args) {
+
+ KLocale.setMainCatalogue("kdelibs");
+ KCmdLineArgs.init(args, "kdatepickertest", "KDatePickTest",
+ "A KDatePicker test..", "0.1");
+ KApplication app = new KApplication();
+ KDatePicker picker = new KDatePicker();
+ app.setMainWidget(picker);
+ picker.show();
+ app.exec();
+ return;
+
+ }
+
+ static {
+ qtjava.initialize();
+ kdejava.initialize();
+ }
+
+}