Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet Draw shape

 
Talha-bin -Shakir
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
hope u all are fine. i wanna create a circle in applet can anyboy tell me how to fill color inside the circle.

thanxs
 
Sunil Kumar Gupta
Ranch Hand
Posts: 824
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did u see the Graphics class in Java

http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Graphics.html

Check this first( fillOval() )
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic