Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

something not right with MyMouseListener class

 
Randall Twede
Ranch Hand
Posts: 4396
3
Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it works just fine, but look at the code

this is what bothers me: in mousePressed() and mouseDragged().
if(parent.getTransparent() || parent.getFloodFill() || parent.getReplace())
{
}
as i added new features it got to look like this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic