This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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!