Is it possible for a JLabel to be modified by a JButton? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Is it possible for a JLabel to be modified by a JButton?

on swing or awt

28th Jun 2018, 11:54 AM
Flex Rinf
Flex Rinf - avatar
1 Antwort
+ 1
Yes! Just use the setText() method
28th Jun 2018, 1:01 PM
apex137
apex137 - avatar