Changeset 67 for trunk/src/org/expeditee/gui/MouseEventRouter.java
- Timestamp:
- 05/19/08 12:03:18 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gui/MouseEventRouter.java
r41 r67 95 95 forwardToExpiditee = true; 96 96 } else if (DisplayIO.getCurrentFrame() != null) { // is mouse over 97 98 99 97 // a specific 98 // expeditee 99 // item? 100 100 // NOTE: Do not use FrameUtils.getCurrentItem() - thats relevent 101 101 // for old mouse position only … … 110 110 .getCurrentFrame(), containerPoint.x, containerPoint.y) != null); 111 111 } 112 112 113 113 if (forwardToExpiditee) { 114 114 … … 125 125 MouseEvent expediteeEvent = SwingUtilities.convertMouseEvent(e 126 126 .getComponent(), e, _contentPane); 127 127 128 128 switch (e.getID()) { 129 129 case MouseEvent.MOUSE_MOVED: … … 131 131 132 132 // Ensure that expiditee has focus only if no popups exist 133 if (!Browser._theBrowser.getContentPane().isFocusOwner() 134 && !isPopupVisible()) { 135 Browser._theBrowser.getContentPane().requestFocus(); 133 if (Browser._theBrowser.getContentPane() != null) { 134 if (!Browser._theBrowser.getContentPane() 135 .isFocusOwner() 136 && !isPopupVisible()) { 137 Browser._theBrowser.getContentPane().requestFocus(); 138 } 136 139 } 137 140
Note:
See TracChangeset
for help on using the changeset viewer.