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

Provide ability to disable top-level windows

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8
    • javafx

      Applications need to be able to disable top-level windows, so these windows don't receive input events, don't change z-order, etc. Some native platforms also provide visual effects for such windows, e.g. flash windows' titlebar, when a disabled window is clicked.

      On Windows, corresponding native API is ::EnableWindow(HWND, BOOL). On Mac OS X, it can be simulated using -[NSWindow canBecomeKeyWindow:] and -[NSWindow canBecomeMainWindow:].

      AWT/Swing has this API: java.awt.Window.setEnabled(boolean).

            Unassigned Unassigned
            art Artem Ananiev (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Imported: