United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-7164629 : [Mac] Additional refactoring needed for JavaFx (event delivery)

Details
Type:
Enhancement
Submit Date:
2012-04-26
Status:
Closed
Updated Date:
2013-10-17
Project Name:
JDK
Resolved Date:
2012-05-09
Component:
deploy
OS:
os_x
Sub-Component:
plugin
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
7u6
Fixed Versions:

Related Reports
Backport:

Sub Tasks

Description
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

                                    

Comments
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.
                                     
2012-05-01
code refactoring.
                                     
2013-10-17



Hardware and Software, Engineered to Work Together