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

FXCanvas without dispatch of WindowEvent

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 7u6
    • javafx
    • all

      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

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

              Created:
              Updated:
              Resolved:
              Imported: