wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes something not right with MyMouseListener class 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 » Swing / AWT / SWT
Bookmark "something not right with MyMouseListener class" Watch "something not right with MyMouseListener class" New topic
Author

something not right with MyMouseListener class

Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4340
    
    2

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.


SCJP
Visit my download page
 
Don't get me started about those stupid light bulbs.
 
subject: something not right with MyMouseListener class
 
Similar Threads
a need for speed
problems with transparent background
Writing Mouse Events
problem with JDialog
a baffling problem