Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

something not right with MyMouseListener class  RSS feed

 
Randall Twede
Ranch Hand
Posts: 4583
6
Java Python Scala
  • 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
Boost this thread!