Nieuws

Add the following code to the Java file:timer = new Timer (countdown, this);Notice the "countdown" variable is used. This parameter sets up the timer to trigger a Java function after 10 seconds.
Create the Java string variable. You can create the variable anywhere in your source code file, but the variable is typically created at the beginning of your Java function.