equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1995, 2015, 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 |
38 * This class creates a labeled button. The application can cause |
38 * This class creates a labeled button. The application can cause |
39 * some action to happen when the button is pushed. This image |
39 * some action to happen when the button is pushed. This image |
40 * depicts three views of a "{@code Quit}" button as it appears |
40 * depicts three views of a "{@code Quit}" button as it appears |
41 * under the Solaris operating system: |
41 * under the Solaris operating system: |
42 * <p> |
42 * <p> |
43 * <img src="doc-files/Button-1.gif" alt="The following context describes the graphic" |
43 * <img src="doc-files/Button-1.gif" alt="The following context describes the |
44 * style="float:center; margin: 7px 10px;"> |
44 * graphic" style="margin: 7px 10px;"> |
45 * <p> |
45 * <p> |
46 * The first view shows the button as it appears normally. |
46 * The first view shows the button as it appears normally. |
47 * The second view shows the button |
47 * The second view shows the button |
48 * when it has input focus. Its outline is darkened to let the |
48 * when it has input focus. Its outline is darkened to let the |
49 * user know that it is an active object. The third view shows the |
49 * user know that it is an active object. The third view shows the |