Default button doesn't work correctly in MetalLAF

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • None
    • Affects Version/s: 7
    • Component/s: client-libs
    • None

      If DefaultButton is setted a couple problems will appear:

      1. A default button doesn't change appearance if another button has focus. But WindowsLAF works in another way: in such situation default button looks like an usual button.

      2. If non-default button has a focus and an user press "Enter" then action of default button will executed! It's an unexpected behaviour.

      Test application is attached.

            Assignee:
            Unassigned
            Reporter:
            Pavel Porvatov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: