Drawing graphics in the main()?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Jeevan_Sandhu
Posted On:   Tuesday, March 12, 2002 07:46 AM

Does anybody know how to redraw graphics according to what a user wants.

i know about the paint() method but can't seem to get my program to allow a user to input something, and a graphic is drawn accordingly.

e.g. if user enters 1, then draw a square. if a user enters 2, draw a circle, and so on ...

i.e How do i draw something within the main()?

Any ideas

Cheers people

About | Sitemap | Contact