• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

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

on swing or awt

javaswingawtjlabelactionlistenerjbutton
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

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Machine learning
1 Votes
Can you give me suggestions on what to code please (HTML+CSS)(beginner + intermediate suggestions)
1 Votes
Without giving the answer, what to do to complete the cells question?
0 Votes
What is operator overriding
1 Votes
Please help me get xp
1 Votes
Why Can’t I See the XP Needed for the Next Level
0 Votes