summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/examples/demo/widgets/Main.java
blob: 049b2e60990e37d52f5c47ff82d16272c51ab15d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import org.trinitydesktop.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();
	}
}