Search:

Type: Posts; User: Norm

Search: Search took 0.20 seconds.

  1. Re: need to randomly change the size of programs balls

    Glad you got it working.
  2. Re: need to randomly change the size of programs balls

    That is where the initial value is set for the diameter of the ball. It is only used once when the ball is created.

    Look at where the ball is drawn. What variable is used to for the size of...
  3. Re: need to randomly change the size of programs balls

    What variable holds the size of the ball when the program is executing?ballDiameter holds its initial value but is not used later.
    Where does the code try to change the size of the ball?
  4. Re: need to randomly change the size of programs balls

    What variable holds the size that you want to change?
    Where does the code attempt to change the contents of that variable?
  5. Re: need to randomly change the size of programs balls

    What variable holds the size? Where does the code attempt to change it?

    The code does not have a main() method. There is no way to execute it.
  6. Re: need to randomly change the size of programs balls

    The posted code does not compile. There are several errors in it.
    You need to post all the classes the code uses.
    You should NOT use a name for a class that is the name of a standard java class:...
  7. Re: need to randomly change the size of programs balls

    Please edit your post and wrap your code with code tags:


    YOUR CODE HERE

    to get highlighting and preserve formatting.
  8. Re: need to randomly change the size of programs balls

    Please paste the code in the forum wrapping it in code tags.
Results 1 to 8 of 8