You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
3.5 KiB
46 lines
3.5 KiB
2 years ago
|
<html><head>
|
||
|
<SCRIPT src="./web-files/dtjava.js"></SCRIPT>
|
||
|
<script>
|
||
|
function launchApplication(jnlpfile) {
|
||
|
dtjava.launch( {
|
||
|
url : 'JavaFxPaneExample_dist.jnlp',
|
||
|
jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxqbmxwIHNwZWM9IjEuMCIgeG1sbnM6amZ4PSJodHRwOi8vamF2YWZ4LmNvbSIgaHJlZj0iSmF2YUZ4UGFuZUV4YW1wbGVfZGlzdC5qbmxwIj4NCiAgPGluZm9ybWF0aW9uPg0KICAgIDx0aXRsZT5KYXZhRnhQYW5lRXhhbXBsZV9kaXN0PC90aXRsZT4NCiAgICA8dmVuZG9yPmRlbmlzPC92ZW5kb3I+DQogICAgPGRlc2NyaXB0aW9uPm51bGw8L2Rlc2NyaXB0aW9uPg0KICAgIDxvZmZsaW5lLWFsbG93ZWQvPg0KICA8L2luZm9ybWF0aW9uPg0KICA8cmVzb3VyY2VzPg0KICAgIDxqMnNlIHZlcnNpb249IjEuNisiIGhyZWY9Imh0dHA6Ly9qYXZhLnN1bi5jb20vcHJvZHVjdHMvYXV0b2RsL2oyc2UiLz4NCiAgICA8amFyIGhyZWY9IkphdmFGeFBhbmVFeGFtcGxlX2Rpc3QuamFyIiBzaXplPSI5MjQ2IiBkb3dubG9hZD0iZWFnZXIiIC8+DQogIDwvcmVzb3VyY2VzPg0KICA8YXBwbGV0LWRlc2MgIHdpZHRoPSI4MDAiIGhlaWdodD0iNjAwIiBtYWluLWNsYXNzPSJjb20uamF2YWZ4Lm1haW4uTm9KYXZhRlhGYWxsYmFjayIgIG5hbWU9IkphdmFGeFBhbmVFeGFtcGxlX2Rpc3QiID4NCiAgICA8cGFyYW0gbmFtZT0icmVxdWlyZWRGWFZlcnNpb24iIHZhbHVlPSI4LjArIi8+DQogIDwvYXBwbGV0LWRlc2M+DQogIDxqZng6amF2YWZ4LWRlc2MgIHdpZHRoPSI4MDAiIGhlaWdodD0iNjAwIiBtYWluLWNsYXNzPSJqYXZhZnhwYW5lZXhhbXBsZV9kaXN0LkphdmFGeFBhbmVFeGFtcGxlX2Rpc3QiICBuYW1lPSJKYXZhRnhQYW5lRXhhbXBsZV9kaXN0IiAvPg0KICA8dXBkYXRlIGNoZWNrPSJhbHdheXMiLz4NCjwvam5scD4NCg=='
|
||
|
},
|
||
|
{
|
||
|
javafx : '8.0+'
|
||
|
},
|
||
|
{}
|
||
|
);
|
||
|
return false;
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<script>
|
||
|
function javafxEmbedjavafxpaneexample_dist() {
|
||
|
dtjava.embed(
|
||
|
{
|
||
|
id : 'javafxpaneexample_dist',
|
||
|
url : 'JavaFxPaneExample_dist.jnlp',
|
||
|
placeholder : 'javafx-app-placeholder',
|
||
|
width : '800',
|
||
|
height : '600',
|
||
|
jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxqbmxwIHNwZWM9IjEuMCIgeG1sbnM6amZ4PSJodHRwOi8vamF2YWZ4LmNvbSIgaHJlZj0iSmF2YUZ4UGFuZUV4YW1wbGVfZGlzdC5qbmxwIj4NCiAgPGluZm9ybWF0aW9uPg0KICAgIDx0aXRsZT5KYXZhRnhQYW5lRXhhbXBsZV9kaXN0PC90aXRsZT4NCiAgICA8dmVuZG9yPmRlbmlzPC92ZW5kb3I+DQogICAgPGRlc2NyaXB0aW9uPm51bGw8L2Rlc2NyaXB0aW9uPg0KICAgIDxvZmZsaW5lLWFsbG93ZWQvPg0KICA8L2luZm9ybWF0aW9uPg0KICA8cmVzb3VyY2VzPg0KICAgIDxqMnNlIHZlcnNpb249IjEuNisiIGhyZWY9Imh0dHA6Ly9qYXZhLnN1bi5jb20vcHJvZHVjdHMvYXV0b2RsL2oyc2UiLz4NCiAgICA8amFyIGhyZWY9IkphdmFGeFBhbmVFeGFtcGxlX2Rpc3QuamFyIiBzaXplPSI5MjQ2IiBkb3dubG9hZD0iZWFnZXIiIC8+DQogIDwvcmVzb3VyY2VzPg0KICA8YXBwbGV0LWRlc2MgIHdpZHRoPSI4MDAiIGhlaWdodD0iNjAwIiBtYWluLWNsYXNzPSJjb20uamF2YWZ4Lm1haW4uTm9KYXZhRlhGYWxsYmFjayIgIG5hbWU9IkphdmFGeFBhbmVFeGFtcGxlX2Rpc3QiID4NCiAgICA8cGFyYW0gbmFtZT0icmVxdWlyZWRGWFZlcnNpb24iIHZhbHVlPSI4LjArIi8+DQogIDwvYXBwbGV0LWRlc2M+DQogIDxqZng6amF2YWZ4LWRlc2MgIHdpZHRoPSI4MDAiIGhlaWdodD0iNjAwIiBtYWluLWNsYXNzPSJqYXZhZnhwYW5lZXhhbXBsZV9kaXN0LkphdmFGeFBhbmVFeGFtcGxlX2Rpc3QiICBuYW1lPSJKYXZhRnhQYW5lRXhhbXBsZV9kaXN0IiAvPg0KICA8dXBkYXRlIGNoZWNrPSJhbHdheXMiLz4NCjwvam5scD4NCg=='
|
||
|
},
|
||
|
{
|
||
|
javafx : '8.0+'
|
||
|
},
|
||
|
{}
|
||
|
);
|
||
|
}
|
||
|
<!-- Embed FX application into web page once page is loaded -->
|
||
|
dtjava.addOnloadCallback(javafxEmbedjavafxpaneexample_dist);
|
||
|
</script>
|
||
|
|
||
|
</head><body>
|
||
|
<h2>Test page for <b>JavaFxPaneExample_dist</b></h2>
|
||
|
<b>Webstart:</b> <a href='JavaFxPaneExample_dist.jnlp' onclick="return launchApplication('JavaFxPaneExample_dist.jnlp');">click to launch this app as webstart</a><br><hr><br>
|
||
|
|
||
|
<!-- Applet will be inserted here -->
|
||
|
<div id='javafx-app-placeholder'></div>
|
||
|
</body></html>
|