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.

XMLWordPrintable

    • b01
    • b80
    • generic, x86
    • generic, windows_xp

        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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: