/[classpath]/classpath/javax/swing/MenuSelectionManager.java
ViewVC logotype

Diff of /classpath/javax/swing/MenuSelectionManager.java

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

revision 1.8 by mkoch, Fri Oct 22 12:43:59 2004 UTC revision 1.9 by fitzsim, Wed May 18 16:02:19 2005 UTC
# Line 157  public class MenuSelectionManager Line 157  public class MenuSelectionManager
157      for (int i = 0; i < selectedPath.size(); i++)      for (int i = 0; i < selectedPath.size(); i++)
158        {        {
159          Component comp = ((Component) selectedPath.get(i));          Component comp = ((Component) selectedPath.get(i));
160          Dimension size = comp.getSize();          Dimension size = comp.getSize();
161    
162          // convert location of this menu item to screen coordinates          // convert location of this menu item to screen coordinates
163          compPointOnScreen = comp.getLocationOnScreen();          compPointOnScreen = comp.getLocationOnScreen();
# Line 277  public class MenuSelectionManager Line 277  public class MenuSelectionManager
277           }           }
278          */          */
279        }        }
280        else
281          {
282            if (event.getID() == MouseEvent.MOUSE_RELEASED)
283              clearSelectedPath();
284          }
285    }    }
286    
287    /**    /**

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

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