hi, im am starting to use the graphics g and the paint method in java to just kinds of mess around with. does anyone know a program were i can draw what i want my figuer to look like, and then it woudl give me a code liek (g.drawRect (12,34,54,54,123) g.fillOval (12,34,54,54,123) ect. all help would be great. thanks!:eek: :eek:
-peej
If you draw your image in a vector graphics program, then view the source of the resulting SVG file, it should be simple enough to translate to Graphics2D calls.
Alternatively, you could do the easy thing and just display an external image. :)
I dont know if such a program exist, but I could see how it could be handy. Working out vectors can be tedious
Maybe its a handy project for someone fairly new, but wants to get their hands dirty... that gives me an idea.