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

FXCanvas without dispatch of WindowEvent

    Details

    • Type: Task
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 7u6
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Environment:

      all

      Description

      Hi,

      By integration of a FX component there is currently no way to grap the page WindowEvent due the usage of the FXCanvas SWT / FX component bridge to indicate a lost focus.

      I need such window shown or lost event handler to take care of inner application functionality, whenever a user clicks on a different program window. It seems only be assignable on the Stage object which is not available with the FXCanvas.

      I read a stack overflow topic which reflects the problem in detail.

      http://stackoverflow.com/questions/8944445/how-to-listen-for-windowevent-window-shown-in-the-nodes-of-the-scene-graph

      Some workaround is required but don't know where to stick on.

      Many thanks for some suggestions.

      Kind regards,
      Andreas

        Attachments

          Activity

            People

            • Assignee:
              snorthov Steve Northover (Inactive)
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: