Hallo Zusammen
Die If-Abfage gibt immer ein FALSE zurück. Ich verstehe nicht wieso...
Schonmal Danke im voraus ;-)
Die If-Abfage gibt immer ein FALSE zurück. Ich verstehe nicht wieso...
Java:
if (Color.red.equals(convertButton.getBackground())){
convertButton.setBackground(Color.white);}
else convertButton.setBackground(Color.red);
Schonmal Danke im voraus ;-)