2005-01-10 | Paul Boddie | raw annotate files changeset graph | Replaced object with java.lang.Object as the standard base class. Introduced explicit parameters and conversion of String objects (with other conversions envisaged). |
1 public class Application extends tkjava.Frame { 2 private tkjava.Button quit, hiThere; 3 4 public Application() { 5 super(); 6 this.pack(); 7 this.createWidgets(); 8 } 9 10 public void createWidgets() { 11 this.quit = new tkjava.Button(this); 12 this.quit.pack(); 13 this.hiThere = new tkjava.Button(this); 14 this.hiThere.pack(); 15 } 16 }