summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/test/kcharselect/KCharSelectTest.java
blob: b07a19371183552eb911195e9cac466af0d86af1 (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");
      KApplication app = new KApplication();
      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();
   }

}