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

setHorizontalAlignment() doesn't work with JMenu

XMLWordPrintable

      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().

            gsaab Georges Saab
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: