import org.kde.qt.*; public class Main { public static void main(String[] args) { TQApplication a = new TQApplication(args); BookForm form = new BookForm(); a.setMainWidget( form ); form.show(); a.exec(); return; } static { qtjava.initialize(); } }