File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Graphics2D question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Graphics2D question" Watch "Graphics2D question" New topic
Author

Graphics2D question

Rohan Baweja
Ranch Hand

Joined: Aug 19, 2001
Posts: 31
I am able to draw various shapes including Rectangle2D.Double object on a JApplet but not able to shift their position. I have tried setFrame() and setLocation() methods but none of these work. I am not sure if I am using them correctly. If someone has come across this problem before, please let me know if you've figured out the solution to this problem and how. thanks
 
wood burning stoves
 
subject: Graphics2D question