The new statement creates a new object.
Type: Posts; User: Norm
The new statement creates a new object.
Here is one of my print outs:
Do understand what the value after the @ signifies and what it can be used for?
It it the hashcode for the object. Each object has a unique value for its hashcode....
Try debugging the code by adding println statements to print out the value of the timer variable.
Print it out when it is created and print it out in the actionPerformed() method. The toString()...
Sounds like there is more than one timer running. Each is updating the count down.
Sorry, I don't have an interactive debugger.
The code executes for me. Can you explain what the problem is and how it can be observed?
Not a SMALL program and it has too many dependencies: images that make it hard to test. Why these images for the test ????
What do you need to do to see the problem?
I get a small rectangle with...
Can you post the small, complete program for testing here on the forum?
Can you make a small, complete program that compiles, executes and shows the problem?
Build the value to be displayed in a String and if the value is < 10, concatenate a "0" in front of it.
An easy way is to use the ternary operator that is like an inline method.