summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/test/simplebrowser/Main.java
blob: 2964f45f80e4d6f50778b96f4dfd3f31eb52419a (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
32
33
34
35
36
37
38
39
40
import org.kde.qt.*;
import org.kde.koala.*;

/**
 *  Main class.
 *
 *  Taken from KDE 2.0 Development book
 *
 *  Rendering HTML Files
 *
 *  A Simple Web Browser
 *
 *
 * @see TDEApplication
 *
 * @author java translation Kenneth J. Pouncey, kjpou@hotmail.com
 * @version 0.1
 */

public class Main {

   public static void main(String[] cmdLineArgs) {

      TDECmdLineArgs.init(cmdLineArgs, "ksimplebrowser", "KSimpleBrowser",
                         "A KDE 3 Development Example - KSimpleBrowser", "0.1");
      TDEApplication app = new TDEApplication();
      KSimpleBrowser kbrowser = new KSimpleBrowser("KSimpleBrowser");

      kbrowser.show();

      app.exec();
      return;
   }

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

}