Is it possible for a JLabel to be modified by a JButton? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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 Answer
+ 1
Yes! Just use the setText() method
28th Jun 2018, 1:01 PM
apex137
apex137 - avatar