1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/examples/Tkinter/Application.java Mon Jan 10 01:06:17 2005 +0100
1.3 @@ -0,0 +1,16 @@
1.4 +public class Application extends tkjava.Frame {
1.5 + private tkjava.Button quit, hiThere;
1.6 +
1.7 + public Application() {
1.8 + super();
1.9 + this.pack();
1.10 + this.createWidgets();
1.11 + }
1.12 +
1.13 + public void createWidgets() {
1.14 + this.quit = new tkjava.Button(this);
1.15 + this.quit.pack();
1.16 + this.hiThere = new tkjava.Button(this);
1.17 + this.hiThere.pack();
1.18 + }
1.19 +}