summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/examples/demo/widgets/Main.java
blob: f78ca26d37b67437333aff6e7e31f1dab651a335 (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)
	{
		QApplication a = new QApplication(args);
		WidgetsBase widgets = new WidgetsBase();

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

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