Hi,
I found this simple code.
I am new to threads and i want to know how this code can be modified so that 5balls can be created and bounced off the boundaries.
Will that require multiple threads...
Type: Posts; User: roza
Hi,
I found this simple code.
I am new to threads and i want to know how this code can be modified so that 5balls can be created and bounced off the boundaries.
Will that require multiple threads...
I tried to simplify my code. Now, the x and y coordinates have been stored in x[] and y[] coordinates.
package manet;
import java.awt.*;
import java.awt.Point;
import java.awt.geom.*;...
I want to make circles onto a JPanel using the x and y coordinates that are generated by another method in the same class. I have stored these coordinate values in an ArrayList<Integer>.
How do i...