Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #1401

Re: Generating a random number on a ball

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.help
Subject Re: Generating a random number on a ball
Date 2011-11-28 10:02 -0800
Organization Canadian Mind Products
Message-ID <m1j7d7dj14j9fhn80jcfsnb7p03nujo584@4ax.com> (permalink)
References <18f0d020-b1ab-42fe-aaca-94d193a393f2@y6g2000yqe.googlegroups.com>

Show all headers | View raw


On Mon, 28 Nov 2011 05:53:26 -0800 (PST), Michael Adedeji
<yankosmgt@gmail.com> wrote, quoted or indirectly quoted someone who
said :

>I want to generate a random number on the ball..

I don't see your random number code. See
http://mindprod.com/jgloss/pseudorandom.html
for how to generate the numbers Getting the number on the ball in 2D
is a matter of knowing where the ball is and doing a drawString.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
For me, the appeal of computer progamming is that
even though I am quite a klutz,
I can still produce something, in a sense
perfect, because the computer gives me as many
chances as I please to get it right.
 

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Generating a random number on a ball Michael Adedeji <yankosmgt@gmail.com> - 2011-11-28 05:53 -0800
  Re: Generating a random number on a ball Patricia Shanahan <pats@acm.org> - 2011-11-28 07:04 -0800
  Re: Generating a random number on a ball Roedy Green <see_website@mindprod.com.invalid> - 2011-11-28 10:02 -0800
    Re: Generating a random number on a ball Joerg Meier <joergmmeier@arcor.de> - 2011-12-14 01:20 +0100
      Re: Generating a random number on a ball Patricia Shanahan <pats@acm.org> - 2011-12-13 17:33 -0800
        Re: Generating a random number on a ball Ian Shef <invalid@avoiding.spam> - 2011-12-15 18:30 +0000
          Re: Generating a random number on a ball Patricia Shanahan <pats@acm.org> - 2011-12-15 13:11 -0800

csiph-web