< prev index next >

src/java.desktop/share/classes/sun/awt/KeyboardFocusManagerPeerImpl.java

Print this page

        

*** 140,151 **** SunToolkit.postEvent(SunToolkit.targetToAppContext(lightweightChild), fg); return true; } // WARNING: Don't call it on the Toolkit thread. ! public static boolean requestFocusFor(Component target, FocusEvent.Cause cause) { ! return AWTAccessor.getComponentAccessor().requestFocus(target, cause); } // WARNING: Don't call it on the Toolkit thread. public static int shouldNativelyFocusHeavyweight(Component heavyweight, Component descendant, --- 140,151 ---- SunToolkit.postEvent(SunToolkit.targetToAppContext(lightweightChild), fg); return true; } // WARNING: Don't call it on the Toolkit thread. ! public static void requestFocusFor(Component target, FocusEvent.Cause cause) { ! AWTAccessor.getComponentAccessor().requestFocus(target, cause); } // WARNING: Don't call it on the Toolkit thread. public static int shouldNativelyFocusHeavyweight(Component heavyweight, Component descendant,
< prev index next >