Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How can I get my line shape to stay positioned when moving it?  RSS feed

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

I'm using a move button to move all the shapes but I can't get the line shape to stay positioned when I move other shapes. I am also having a problem where the line shape won't move if there are multiple shapes drawn.

 
Marshal
Posts: 58345
178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don’t know. But I do know all those casts and instanceof tests suggest there is something very wrong with your class designs.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!