javaclass

examples/Qt/WidgetTest.java

186:5403f0ecc06a
2011-03-24 Paul Boddie Updated release information. Added copyright and licensing headers. Changed the licence to LGPLv3 or later. Added sections to the documentation.
     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 }