HELP needed: Small Java applet  
Author Message
Josechu





PostPosted: 2003-10-25 17:30:00 Top

java-programmer, HELP needed: Small Java applet I need a graphic Java applet that makes the following steps:


Given a circumference of radius "r",

Draw onscreen, say, 20 random radius.

Then, every time you press a button:

Rotate the 20 radius a given random angle (same for everyone).

Draw the new radius onscreen.

Note: The radius endpoints should be stored in float arrays and drawn as
float. (Of course one of the endpoints of every radius would be the center
of the circumference.)


I'm not very good at Java at the moment but I'd like to transform an old
program from QBasic into a java applet and I think that this little
framework is all I need. What I am getting at the moment is a lot of
compilation errors I don't understand.


The program I want to transform is here:

http://www.josechu.com/moving_fractal/index.htm



Thanks,


Josechu



 
David Postill





PostPosted: 2003-10-26 2:38:00 Top

java-programmer >> HELP needed: Small Java applet -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In article <bndfqu$vofot$email***@***.com>, on Sat, 25 Oct 2003
11:30:07 +0200, "Josechu"
<email***@***.com> wrote:

| I need a graphic Java applet that makes the following steps:

<snip />

| I'm not very good at Java at the moment but I'd like to transform an old
| program from QBasic into a java applet and I think that this little
| framework is all I need. What I am getting at the moment is a lot of
| compilation errors I don't understand.

In order to be able to help you please post the smallest program that show the
problems, together with the exact steps
you are using to compile the program and the error messages produced.

<davidp />

- --
David Postill

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.2 - not licensed for commercial use: www.pgp.com
Comment: Get key from pgpkeys.mit.edu:11370

iQA/AwUBP5qQonxp7q1nhFwUEQLj7wCgtdK1ZoZI7IkuKrAIiJPOJalmDu4AoIV+
mpUOY2SOKbXA1cXMXWW21fZL
=p8Sb
-----END PGP SIGNATURE-----