Search:

Type: Posts; User: roza

Search: Search took 0.33 seconds.

  1. Thread: Bouncing Balls

    by roza
    Replies
    6
    Views
    7,112

    Bouncing Balls

    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...
  2. Re: Drawing circles using the coordinate values that are stored in an ArrayList.

    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.*;...
  3. Drawing circles using the coordinate values that are stored in an ArrayList.

    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...
Results 1 to 3 of 3