Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Graphics2D question

 
Rohan Baweja
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic