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

REGRESSION: XP L&F: on jdk 1.6, preferred size of JToggleButton in JToolbar on winxp is wrong.

    Details

    • Subcomponent:
    • Introduced In Build:
      b01
    • Introduced In Version:
    • Resolved In Build:
      b80
    • CPU:
      generic, x86
    • OS:
      generic, windows_xp

      Backports

        Description

        running jdk 1.6 mustang 59 build. Only on winxp l&f.
        when running the attached application (by typing ant run in the project's root directory) there is a toggle button with dots instead of the text. that's because of small size of the button.

        The problem is that after adding the toggle button into toolbar, calling button.setPrefferedSize(button.getPrefferedSize()) sets the size incorrectly. which it should not.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jmarinacsunw Joshua Marinacci (Inactive)
                  Reporter:
                  duke J. Duke (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: