Let me explain what I am trying to do.
I have two classes extending JFrame, the StartJFrame and TestingJFrame. In the main met
JFrame
StartJFrame
TestingJFrame
You can use javax.swing.Timer to setup your timer. You can have a look at the official tutorial too.