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

XMLWordPrintable

    • generic
    • os_x

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: