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

setHorizontalAlignment() doesn't work with JMenu

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: client-libs

      Description

      Using setHorizontalAlignment() to set JMenu title alignment does not work in beta4. Worked OK in beta3.

      Fails on both Solaris and WinNT reference implementations.

      Attached is a sample program.

      To see the problem, follow these steps:

      1. Run the program: "java MenuSpacing"
      2. Notice that under beta4 the Menu title is centered instead
      of being left justified as set by setHorizontalAlignment().

        Attachments

          Activity

            People

            Assignee:
            gsaab Georges Saab
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: