From: Randolph Wang <rywang@CS.Princeton.EDU>
Date: Sat, 21 Feb 2004 20:18:45 -0500 (EST)
To: ehoa@Princeton.EDU
Cc: randy_class@CS.Princeton.EDU
Subject: NBody
> <BODY><P>Hi Professor Wang,</P>
> <P>Sorry to bother you over the weekend, but I am really stuck on something about my program. I wrote my program, and I can't get the turtle graphics to work. I feel like i have tried alot of different variations, and I have made sure that i have all the appropriate files attached, but everytime i try to compile the program, the java graphics screen just gives me a white screen or gray screen (unless i use Turtle.clear(Color.black) which it then gives me a black screen). I have tried commenting everything out and just printing the "starfield.jpg" and i still get a blank screen. I was wondering if I am doing something egregiously wrong. Thanks, Edward</P></BODY>
Your program successfully puts up the "starfield.jpg" picture on my
computer. I can't tell what's wrong on your computer. Try putting up
other pictures (the small body pictures). Make sure the pictures are
there. Try the BouncingBall.java example (given on the cs intro book
site online). That's all I can think of at the moment.
Randy
NBody / Randolph Wang