src/java.desktop/share/classes/java/awt/FlowLayout.java
changeset 58325 d32a3b1ca84a
parent 47216 71c04702a3d5
equal deleted inserted replaced
58324:0aba35254e00 58325:d32a3b1ca84a
     1 /*
     1 /*
     2  * Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    52  * For example, the following picture shows an applet using the flow
    52  * For example, the following picture shows an applet using the flow
    53  * layout manager (its default layout manager) to position three buttons:
    53  * layout manager (its default layout manager) to position three buttons:
    54  * <p>
    54  * <p>
    55  * <img src="doc-files/FlowLayout-1.gif"
    55  * <img src="doc-files/FlowLayout-1.gif"
    56  * ALT="Graphic of Layout for Three Buttons"
    56  * ALT="Graphic of Layout for Three Buttons"
    57  * style="float:center; margin: 7px 10px;">
    57  * style="margin: 7px 10px;">
    58  * <p>
    58  * <p>
    59  * Here is the code for this applet:
    59  * Here is the code for this applet:
    60  *
    60  *
    61  * <hr><blockquote><pre>
    61  * <hr><blockquote><pre>
    62  * import java.awt.*;
    62  * import java.awt.*;