src/java.desktop/share/classes/java/awt/Window.java
Print this page
@@ -682,11 +682,11 @@
* <p>
* The {@code icons} list is scanned for the images of most
* appropriate dimensions from the beginning. If the list contains
* several images of the same size, the first will be used.
* <p>
- * Ownerless windows with no icon specified use platfrom-default icon.
+ * Ownerless windows with no icon specified use platform-default icon.
* The icon of an owned window may be inherited from the owner
* unless explicitly overridden.
* Setting the icon to {@code null} or empty list restores
* the default behavior.
* <p>
@@ -1237,13 +1237,13 @@
*/
void adjustListeningChildrenOnParent(long mask, int num) {
}
// Should only be called while holding tree lock
- void adjustDecendantsOnParent(int num) {
+ void adjustDescendantsOnParent(int num) {
// do nothing since parent == owner and we shouldn't
- // ajust counter on owner
+ // adjust counter on owner
}
/**
* If this Window is visible, brings this Window to the front and may make
* it the focused Window.