JDK-7164629 : [Mac] Additional refactoring needed for JavaFx (event delivery)
  • Type: Enhancement
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 7u6
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2012-04-26
  • Updated: 2013-10-17
  • Resolved: 2012-05-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
7u6Fixed 8 b38Fixed
On the Mac we have to deliver events to the applet process across the communications pipe. Unfortunately, when I did the first implementation for AWT-based applets I put the event delivery methods into PluginEmbeddedFrame. This needs to change so that com.sun.deploy.uitoolkit.Window has methods for receiving the serialized events, which are in turn implemented by PluginEmbeddedFrame.

There will be a corresponding JavaFx change. ID to be added shortly.
See http://javafx-jira.kenai.com/browse/RT-21188

code refactoring.

EVALUATION Rewrote event delivery to flatten events into a Map and then push them to a SynthesizedEventListener, which is implemented by PluginEmbeddedFrame on the Mac and FXWindow in FX.