src/java.desktop/share/classes/java/awt/ContainerOrderFocusTraversalPolicy.java
Print this page
@@ -164,11 +164,11 @@
if (cont.isFocusCycleRoot()) {
if (getImplicitDownCycleTraversal()) {
retComp = cont.getFocusTraversalPolicy().getDefaultComponent(cont);
if (retComp != null && log.isLoggable(PlatformLogger.Level.FINE)) {
- log.fine("### Transfered focus down-cycle to " + retComp +
+ log.fine("### Transferred focus down-cycle to " + retComp +
" in the focus cycle root " + cont);
}
} else {
return null;
}
@@ -176,11 +176,11 @@
retComp = (traversalDirection == FORWARD_TRAVERSAL ?
cont.getFocusTraversalPolicy().getDefaultComponent(cont) :
cont.getFocusTraversalPolicy().getLastComponent(cont));
if (retComp != null && log.isLoggable(PlatformLogger.Level.FINE)) {
- log.fine("### Transfered focus to " + retComp + " in the FTP provider " + cont);
+ log.fine("### Transferred focus to " + retComp + " in the FTP provider " + cont);
}
}
}
return retComp;
}
@@ -226,11 +226,11 @@
if (!(aContainer.isVisible() && aContainer.isDisplayable())) {
return null;
}
- // Before all the ckecks below we first see if it's an FTP provider or a focus cycle root.
+ // Before all the checks below we first see if it's an FTP provider or a focus cycle root.
// If it's the case just go down cycle (if it's set to "implicit").
Component comp = getComponentDownCycle(aComponent, FORWARD_TRAVERSAL);
if (comp != null) {
return comp;
}