How can i develop a graphic shape which depends on user input

How can i draw a shape of circle which depends on user input.for example if i give input as 10 a circle of radius 5 should be drawn and when i give as 20 then the circle should increase its size automatically.I want these changes to be done at runtime.input should also be given at runtime

[303 byte] By [camel10] at [2007-9-26 4:30:19]
# 1
You should probably write a Java program to do that. It should have a graphical display of the circle, and probably some buttons and a text field to accept user input. Sounds like a good homework assignment.
gweedo at 2007-6-29 17:42:37 > top of Java-index,Archived Forums,Swing...
# 2
Have a look at this http://forums.java.sun.com/thread.jsp?forum=20&thread=143870Its always worth searching threads before posting questions ;-)
thebobster at 2007-6-29 17:42:37 > top of Java-index,Archived Forums,Swing...