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(); |
277 |
} |
} |
278 |
*/ |
*/ |
279 |
} |
} |
280 |
|
else |
281 |
|
{ |
282 |
|
if (event.getID() == MouseEvent.MOUSE_RELEASED) |
283 |
|
clearSelectedPath(); |
284 |
|
} |
285 |
} |
} |
286 |
|
|
287 |
/** |
/** |