diff --git a/src/com/jpexs/decompiler/flash/gui/WrapLayout.java b/src/com/jpexs/decompiler/flash/gui/WrapLayout.java index 2b1d6ab6e..66c3efbe5 100644 --- a/src/com/jpexs/decompiler/flash/gui/WrapLayout.java +++ b/src/com/jpexs/decompiler/flash/gui/WrapLayout.java @@ -107,7 +107,7 @@ public class WrapLayout extends FlowLayout { */ private Dimension layoutSize(Container target, boolean preferred) { synchronized (target.getTreeLock()) { - // Each row must fit with the width allocated to the containter. + // Each row must fit with the width allocated to the container. // When the container width = 0, the preferred width of the container // has not yet been calculated so lets ask for the maximum. @@ -160,7 +160,7 @@ public class WrapLayout extends FlowLayout { // When using a scroll pane or the DecoratedLookAndFeel we need to // make sure the preferred size is less than the size of the - // target containter so shrinking the container size works + // target container so shrinking the container size works // correctly. Removing the horizontal gap is an easy way to do this. Container scrollPane = SwingUtilities.getAncestorOfClass(JScrollPane.class, target);