summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/test/kcharselect/KCharSelectTest.java
blob: 38bf5dad59e4b76576271c68fc3f818f857f80ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import org.kde.qt.*;
import org.kde.koala.*;

/**
 *
 * Taken from test program of the tdeui tests
 **/
public class KCharSelectTest {


   public static void main (String[] args) {

      KCmdLineArgs.init(args, "kcharselecttest", "KCharSelectTest", 
                              "A KCharSelect test app", "0.1");
      TDEApplication app = new TDEApplication();
      KCharSelect selector = new KCharSelect(null,"char selector");
      selector.resize( selector.sizeHint() );
      app.setMainWidget(selector);
      selector.show();
      selector.setCaption( "KCharSelect Test");
      app.exec();
      return;

   }

   static {
      qtjava.initialize();
      kdejava.initialize();
   }

}