Id: ubapp.tex,v 1.1 2004/01/04 22:19:33 joe Exp
Quelltext: http://www.imn.htwk-leipzig.de/~waldmann/ws03/informatik/programme/counter/
dec
(nach unten zählen) hinzu
reset
(auf 0 setzen)
Label
auf TextField
set
hinzu
(soll Zähler auf aktuellen Inhalt des Textfeldes setzen) Hinweis:
Button set = new Button ("set"); class Set_Listener implements ActionListener { public void actionPerformed (ActionEvent a) { String s = ??? status = Integer.parseInt (s); update (); } }