jQuery in Action, 2nd edition*
The moose likes Beginning Java and the fly likes Can't get my line shape to move when other shapes have been drawn Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Can Watch "Can New topic
Author

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

kenny gill
Ranch Hand

Joined: Mar 12, 2012
Posts: 54

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:

 
Don't get me started about those stupid light bulbs.
 
subject: Can't get my line shape to move when other shapes have been drawn
 
Similar Threads
Drawing text inside a Graphics2D shape
Can't figure out why my Line shape won't re-size
Requesting help fixing a choice box.
Can't figure out why my shape won't re-size like the other. Code and details inside.
Requesting help fixing a choice box.