Close

jGuru Forums

Posted By: Siva_Balasubramanian Posted On: Sunday, September 7, 2003 08:34 PM

Hi all I'm new to applet.I'm having a doubt in applet.please clear my doubt.My requirement is i need to fill the circle as below The half of the circle that is the bottom half (semi circle) must be filled with red color according to some integer value. if I give the integer value of 5 as input means the whole semi circle must be filled. if I give the integer value of 4 as input means the a small part of the semi circle from the top must be left and the remaining must be filled with red. if I give the integer value of 3 as input means a little bit more of the semi circle than the previous input value from top must be left and the remaining must be filled with red. the value of the integer value to be reduced upto 0 . for every above mentioned operations the bottom half of the circle(semi circle) must remain constant. I tried with all possible ways.. couldn't achive the solution. If u help me with sample code.. it will be more useful.. Thanks in advance.. Siva.

Re: basic applet question

Posted By: Christopher_Koenigsberg Posted On: Monday, September 8, 2003 07:01 AM

...I tried with all possible ways.. couldn't achive the solution...

Post the code you tried, which didn't work.