equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1995, 2017, 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 |
49 * <p> |
49 * <p> |
50 * The default {@code MenuItem} object embodies |
50 * The default {@code MenuItem} object embodies |
51 * a simple labeled menu item. |
51 * a simple labeled menu item. |
52 * <p> |
52 * <p> |
53 * This picture of a menu bar shows five menu items: |
53 * This picture of a menu bar shows five menu items: |
54 * <IMG SRC="doc-files/MenuBar-1.gif" alt="The following text describes this graphic." |
54 * <IMG SRC="doc-files/MenuBar-1.gif" alt="The following text describes this |
55 * style="float:center; margin: 7px 10px;"> |
55 * graphic." style="margin: 7px 10px;"> |
56 * <br style="clear:left;"> |
56 * <br style="clear:left;"> |
57 * The first two items are simple menu items, labeled |
57 * The first two items are simple menu items, labeled |
58 * {@code "Basic"} and {@code "Simple"}. |
58 * {@code "Basic"} and {@code "Simple"}. |
59 * Following these two items is a separator, which is itself |
59 * Following these two items is a separator, which is itself |
60 * a menu item, created with the label {@code "-"}. |
60 * a menu item, created with the label {@code "-"}. |