2005-02-13 | Paul Boddie | raw annotate files changeset graph | Attempted to simplify the class loading mechanism by adding instance-level state to remember which classes have been imported so far. Only at the top level will such classes be created and initialised. Added a convenience method to ClassTranslator. |
1 public class WidgetTest extends qtjava.QWidget { 2 public WidgetTest(qtjava.QWidget parent, String name) { 3 super(parent, name); 4 } 5 6 public static void main(String[] args) { 7 String[] empty = new String[0]; 8 qtjava.QApplication app = new qtjava.QApplication(empty); 9 WidgetTest wt = new WidgetTest(null, "WidgetTest"); 10 wt.show(); 11 app.exec_loop(); 12 } 13 }