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

Can't get my line shape to move when other shapes have been drawn

 
kenny gill
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm making a drawing applet and am able to move my line shape when the button is selected, but cannot when multiple shapes have been drawn. I'm able to move all the other shapes but line will not move at all.

I can provide the class but I'll start off small with only the methods that control the move button. Also, how can I add the red to the line shape like I have with the others?

Methods:

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic