summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/examples/demo/widgets/Main.java
blob: 0caf97ec718d53afdf84775462c1e7a28df470a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import org.kde.qt.*;

public class Main {

	public static void main(String[] args)
	{
		TQApplication a = new TQApplication(args);
		WidgetsBase widgets = new WidgetsBase();

		a.setMainWidget( widgets );
		widgets.show();
		a.exec();

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