View Single Post
  #1 (permalink)  
Old 08-07-2007, 03:26 AM
fernando fernando is offline
Member
 
Join Date: Jul 2007
Posts: 40
fernando is on a distinguished road
I am trying to create a wheel that has 5 spokes...
Hi, I am trying to create a wheel that has 5 spokes. I am kind of new at Java and need some help completing this. So far I have:

Code:
import java.applet.Applet; import java.awt.Graphics; import javax.swing.JFrame; public class DrawOval extends Applet { public void paint(Graphics g) { g.drawOval(10, 50, 200, getSize() .height - 384); getSize() .getWidth();
Thanks.
Reply With Quote
Sponsored Links