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

JButtons should draw their focus on Windows XP

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b80
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      I think that JButtons should draw their focus rectangle when running under Windows XP (with the XP theme). Currently they do not (except when inside of a toolbar) thanks to code in the paintFocus() method of the com.sun.java.swing.plaf.windows.WindowsButtonUI class. This code was put in there to supress the focus and I have seen cases where XP buttons in native apps *do* have focus rects. This needs to be investigated further to determine the correct behavior.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jmarinacsunw Joshua Marinacci (Inactive)
              Reporter:
              jmarinacsunw Joshua Marinacci (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: