Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/classes/javax/swing/JMenuItem.java
          +++ new/src/share/classes/javax/swing/JMenuItem.java
↓ open down ↓ 46 lines elided ↑ open up ↑
  47   47   * sitting in a list. When the user selects the "button", the action
  48   48   * associated with the menu item is performed. A <code>JMenuItem</code>
  49   49   * contained in a <code>JPopupMenu</code> performs exactly that function.
  50   50   * <p>
  51   51   * Menu items can be configured, and to some degree controlled, by
  52   52   * <code><a href="Action.html">Action</a></code>s.  Using an
  53   53   * <code>Action</code> with a menu item has many benefits beyond directly
  54   54   * configuring a menu item.  Refer to <a href="Action.html#buttonActions">
  55   55   * Swing Components Supporting <code>Action</code></a> for more
  56   56   * details, and you can find more information in <a
  57      - * href="http://docs.oracle.com/javase/tutorial/uiswing/misc/action.html">How
       57 + * href="https://docs.oracle.com/javase/tutorial/uiswing/misc/action.html">How
  58   58   * to Use Actions</a>, a section in <em>The Java Tutorial</em>.
  59   59   * <p>
  60   60   * For further documentation and for examples, see
  61   61   * <a
  62      - href="http://docs.oracle.com/javase/tutorial/uiswing/components/menu.html">How to Use Menus</a>
       62 + href="https://docs.oracle.com/javase/tutorial/uiswing/components/menu.html">How to Use Menus</a>
  63   63   * in <em>The Java Tutorial.</em>
  64   64   * <p>
  65   65   * <strong>Warning:</strong> Swing is not thread safe. For more
  66   66   * information see <a
  67   67   * href="package-summary.html#threading">Swing's Threading
  68   68   * Policy</a>.
  69   69   * <p>
  70   70   * <strong>Warning:</strong>
  71   71   * Serialized objects of this class will not be compatible with
  72   72   * future Swing releases. The current serialization support is
↓ open down ↓ 877 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX