Meaningless Drivel is fun!*
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
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:

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can't get my line shape to move when other shapes have been drawn