equal
deleted
inserted
replaced
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.*; |