Description
Examples on http://docs.oracle.com/javafx/2/deployment/deploy_swing_apps.htm (dtjava.launch, dtjava.embed) are wrong.
'toolkit' is not a property of the Platform but App (you can check it in dtjava.js)
�
�dtjava.embed(
{
id : 'sampleApp',
url : 'SampleApp_browser.jnlp',
placeholder : 'app-placeholder',
width : 960,
height : 720
},
{
javafx : '2.2+',
toolkit: 'swing'
},
{ onGetSplash: function() {} } //disable splash
);
need to be changed to
�dtjava.embed(
{
id : 'sampleApp',
url : 'SampleApp_browser.jnlp',
placeholder : 'app-placeholder',
width : 960,
height : 720,
toolkit: 'swing'
},
{
javafx : '2.2+'
},
{ onGetSplash: function() {} } //disable splash
);
I guess same applies to dtjava.launch example on the same page.
If examples are used like they are, instead of "Swing" launcher "JavaFX" one is used and swing applet never starts.
'toolkit' is not a property of the Platform but App (you can check it in dtjava.js)
�
�dtjava.embed(
{
id : 'sampleApp',
url : 'SampleApp_browser.jnlp',
placeholder : 'app-placeholder',
width : 960,
height : 720
},
{
javafx : '2.2+',
toolkit: 'swing'
},
{ onGetSplash: function() {} } //disable splash
);
need to be changed to
�dtjava.embed(
{
id : 'sampleApp',
url : 'SampleApp_browser.jnlp',
placeholder : 'app-placeholder',
width : 960,
height : 720,
toolkit: 'swing'
},
{
javafx : '2.2+'
},
{ onGetSplash: function() {} } //disable splash
);
I guess same applies to dtjava.launch example on the same page.
If examples are used like they are, instead of "Swing" launcher "JavaFX" one is used and swing applet never starts.
Attachments
Issue Links
- relates to
-
JDK-8088038 Unexpected color variance in Glass Robot tests on some Mac systems
- Open