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

[macosx] Disposing a child Dialog returns focus and ability to a previously disabled parent Frame

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      os_x

      Description

      http://java.net/jira/browse/MACOSX_PORT-265 submitted 2011/08/11 by Yuri Nesterenko
      Create a Frame with a Button and it's child Dialog. Disable Frame. If you then dispose of the Dialog, Frame may become active, quite enabled, and focusable.
      In the attached small example, Frame will be displayed with a Dialog and then disabled. Actually, frame.setEnabled(false) seems to have no effect at all, though. On other platforms, it's child Button also would became disabled but not in this port. Click a button in Dialog: it will dispose Dialog. If you click then the Frame's Button, the Frame will cheerfully gain focus, and Button fire an action event.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                anthony Anthony Petrov (Inactive)
                Reporter:
                vasya Vassili Igouchkine (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: