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

Button in Disabled Frame gains the focus in Solaris and Linux

    Details

    • Subcomponent:
    • CPU:
      other
    • OS:
      solaris_9

      Description

      1. Create Frame with button1 and dialog with button2 and make them visible.
      2. now the focus is on the button2 which is in Dialog.
      3. disable the frame by calling setEnable(false) so the frame gets disabled along with the button
      4. make Dialog invisible by calling setVisible(false)

      Expected Result: the focus should not be moved on to Button1 which is in disabled frame.
      Actual Result: 1. Button Gains the focus even though it is diabled.
                     2. Frame looks Activated even though it is disabled,click on maximize,
                        minimise buttons and you can maximize and minimize the frame.

      it happens only in 1.6, and only in Solaris, and linux platforms.
      it works with 1.5.0,
      it works in Windows

      To Reproduce the defect please run the attached test and wait for 20 seconds.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ggirishsunw Girish Girish (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: