--- a/jdk/src/share/classes/java/awt/Container.java Mon May 21 18:55:36 2012 +0400
+++ b/jdk/src/share/classes/java/awt/Container.java Tue May 22 01:12:16 2012 +0400
@@ -3245,7 +3245,7 @@
if (root != currentFocusCycleRoot) {
KeyboardFocusManager.getCurrentKeyboardFocusManager().
- setGlobalCurrentFocusCycleRoot(root);
+ setGlobalCurrentFocusCycleRootPriv(root);
}
return root;
}
@@ -3302,7 +3302,7 @@
Container cont = kfm.getCurrentFocusCycleRoot();
if (cont == this || isParentOf(cont)) {
- kfm.setGlobalCurrentFocusCycleRoot(null);
+ kfm.setGlobalCurrentFocusCycleRootPriv(null);
}
}
@@ -3506,7 +3506,7 @@
public void transferFocusDownCycle() {
if (isFocusCycleRoot()) {
KeyboardFocusManager.getCurrentKeyboardFocusManager().
- setGlobalCurrentFocusCycleRoot(this);
+ setGlobalCurrentFocusCycleRootPriv(this);
Component toFocus = getFocusTraversalPolicy().
getDefaultComponent(this);
if (toFocus != null) {