jdk/src/share/classes/java/awt/KeyboardFocusManager.java
changeset 441 f5da1014ed23
parent 2 90ce3da70b43
child 715 f16baef3a20e
equal deleted inserted replaced
440:a3dac373f62d 441:f5da1014ed23
  2576                     && !disableRestoreFocus
  2576                     && !disableRestoreFocus
  2577                     && (null == currentLightweightRequests);
  2577                     && (null == currentLightweightRequests);
  2578         }
  2578         }
  2579     }
  2579     }
  2580 
  2580 
       
  2581     static boolean isAutoFocusTransferEnabledFor(Component comp) {
       
  2582         return isAutoFocusTransferEnabled() && comp.isAutoFocusTransferOnDisposal();
       
  2583     }
       
  2584 
  2581     /*
  2585     /*
  2582      * Used to process exceptions in dispatching focus event (in focusLost/focusGained callbacks).
  2586      * Used to process exceptions in dispatching focus event (in focusLost/focusGained callbacks).
  2583      * @param ex previously caught exception that may be processed right here, or null
  2587      * @param ex previously caught exception that may be processed right here, or null
  2584      * @param comp the component to dispatch the event to
  2588      * @param comp the component to dispatch the event to
  2585      * @param event the event to dispatch to the component
  2589      * @param event the event to dispatch to the component