summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/test/simplebrowser/Main.java
blob: 467cd38c505b46955b149f46f0959b69a51f093a (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.trinitydesktop.qt.*;
import org.trinitydesktop.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();
      tdejava.initialize();
   }

}