You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/qtjava/javalib/examples/application/Main.java

18 lines
371 B

import org.kde.qt.*;
public class Main extends TQObject {
public static void main(String[] args) {
TQApplication a = new TQApplication (args);
ApplicationWindow mw = new ApplicationWindow();
mw.setCaption("Document 1");
mw.show();
a.connect(a, SIGNAL("lastWindowClosed()"), a, SLOT("quit()"));
a.exec();
return;
}
static {
qtjava.initialize();
}
}