Threads. Alright, thanks. Haven't got there yet in the book, so it will take me some time. Again - thanks! :)
Type: Posts; User: ygeva
Threads. Alright, thanks. Haven't got there yet in the book, so it will take me some time. Again - thanks! :)
Alright. I have added comments to the code to explain the logic to it (See above).
As I have explained - when the animation runs automatically (with no buttons involved) it runs great. But when I...
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Dimension;
import java.applet.AudioClip;
import...
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Dimension;
import java.applet.AudioClip;
import...
Hello all,
I'm new to this forum and to Java programming as well.
I've been trying to write down a code that run a simple animation of a ball on the screen (code is added below).
The ball...