Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
Hast du denn schon etwas probiert?
Bist du auf einen Fehler gestoßen?
Moin,
Du musst dem Button einen actionListener hinzufügen !
Hier mal ein paar Links zum Einarbeiten 🙂
https://docs.oracle.com/javase/tutorial/uiswing/events/actionlistener.html
http://www.java-tutorial.org/actionlistener.html
http://openbook.rheinwerk-verlag.de...19_007.htm#mj55c593e7d35424fc28bc55300ff96ee1
VG Klaus
Und jetzt klappt's ??Habe jetzt den actionListener hinzugefügt und darunter den Code: "txt1.setBackground(Color.BLACK);"