File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Graphics2D question" Watch "Graphics2D question" New topic

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
I agree. Here's the link:
subject: Graphics2D question
It's not a secret anymore!