Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6945118

JMenu.add and remove methods JavaDoc is not complete

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 6u19
    • client-libs

      java version "1.6.0_19"
      Java(TM) SE Runtime Environment (build 1.6.0_19-b04)
      Java HotSpot(TM) Client VM (build 16.2-b04, mixed mode, sharing)

      Does this problem occur on J2SE 5.0.x or 6.0? Yes / No (pick one)
      Yes

      Operating System Configuration Information (be specific):
      Client: Microsoft Windows XP [Version 5.1.2600]

      Bug Description:
      JMenu.add and remove methods JavaDoc is not complete

      This is related to bug: 6286346.
      It appears that it is required to call getPopupMenu().repaint() and
      getPopupMenu().revalidate() following any changes to a visible JMenu.
      (It is not painting properly otherwise)

      The JavaDoc for JMenu.add and remove methods needs to mention this

            alexp Alexander Potochkin (Inactive)
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: