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

No changes accepted in menu items layout

    Details

      Description

      J2SE Version (please include all output from java -version flag):
        java version "1.6.0-beta2"
        Java(TM) SE Runtime Environment (build 1.6.0-beta2-b82)
        Java HotSpot(TM) Client VM (build 1.6.0-beta2-b82, mixed mode, sharing)

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

      Operating System Configuration Information (be specific):
        Windows XP Professional SP2


      Hardware Configuration Information (be specific):
        Intel Pentium III, 730 Mhz, 384 Mb RAM

      Bug Description:
        The layout of popup menu items does not change applying
        setLayout(), setHorizontalAlignment() or pack() .

      Steps to Reproduce (be specific):

        Compile and run the attached program. Note that the label
        in the menu items is centered even if statements 1, 2, and
        3 have been executed. All of them seem to be ineffective.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mlapshin Mikhail Lapshin (Inactive)
                Reporter:
                tyao Ting-Yun Ingrid Yao (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: