/[classpath]/classpath/java/awt/Container.java
ViewVC logotype

Diff of /classpath/java/awt/Container.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.69 by rabbit78, Thu Nov 17 21:00:53 2005 UTC revision 1.70 by rabbit78, Fri Nov 18 21:31:06 2005 UTC
# Line 1094  public class Container extends Component Line 1094  public class Container extends Component
1094        {        {
1095          if (!contains(x, y))          if (!contains(x, y))
1096            return null;            return null;
1097              
1098          for (int i = 0; i < ncomponents; ++i)          for (int i = 0; i < ncomponents; ++i)
1099            {            {
1100              // Ignore invisible children...              // Ignore invisible children...
# Line 1117  public class Container extends Component Line 1117  public class Container extends Component
1117            }            }
1118    
1119          //don't return transparent components with no MouseListeners          //don't return transparent components with no MouseListeners
1120          if (this.getMouseListeners().length == 0)          if (getMouseListeners().length == 0
1121                && getMouseMotionListeners().length == 0)
1122            return null;            return null;
1123          return this;          return this;
1124        }        }

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.70

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26