I have a problem with the NetBeans timer bean.
For example timer1 is started when a user clicks a button on the screen - the button's event handler calls timer1.start(). That works fine.
After the timer1 runs for 10 seconds, code inside the timer's event handler issues a timer1.stop();
Then the user will click on the button which issues the time1.start() again - but timer1 does not start. There is no error - but timer1 never starts running again and never fires off its event handler.
I have tried timer1.restart(); -- netBeans said it is not a valid method.