Where in your code do you try to change the text that is shown in the JLabel?
You set it to an initial value and never do anything more to change it.
Read the API doc for the JLabel class to see...
Type: Posts; User: Norm
Where in your code do you try to change the text that is shown in the JLabel?
You set it to an initial value and never do anything more to change it.
Read the API doc for the JLabel class to see...
What doesn't work? Is the action listener called? Add a print out to show if it is.
BTW Naming conventions for variables states they should begin with lowercase letters. Class names with...