12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <html><head>
  2. <SCRIPT src="./web-files/dtjava.js"></SCRIPT>
  3. <script>
  4. function launchApplication(jnlpfile) {
  5. dtjava.launch( {
  6. url : 'CalculatorFX.jnlp',
  7. jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPGpubHAgc3BlYz0iMS4wIiB4bWxuczpqZng9Imh0dHA6Ly9qYXZhZnguY29tIiBocmVmPSJDYWxjdWxhdG9yRlguam5scCI+CiAgPGluZm9ybWF0aW9uPgogICAgPHRpdGxlPkNhbGN1bGF0b3JGWDwvdGl0bGU+CiAgICA8dmVuZG9yPnNodWJoYW08L3ZlbmRvcj4KICAgIDxkZXNjcmlwdGlvbj5udWxsPC9kZXNjcmlwdGlvbj4KICAgIDxvZmZsaW5lLWFsbG93ZWQvPgogIDwvaW5mb3JtYXRpb24+CiAgPHJlc291cmNlcz4KICAgIDxqMnNlIHZlcnNpb249IjEuNisiIGhyZWY9Imh0dHA6Ly9qYXZhLnN1bi5jb20vcHJvZHVjdHMvYXV0b2RsL2oyc2UiLz4KICAgIDxqYXIgaHJlZj0iQ2FsY3VsYXRvckZYLmphciIgc2l6ZT0iMzA4MiIgZG93bmxvYWQ9ImVhZ2VyIiAvPgogIDwvcmVzb3VyY2VzPgogIDxhcHBsZXQtZGVzYyAgd2lkdGg9IjgwMCIgaGVpZ2h0PSI2MDAiIG1haW4tY2xhc3M9ImNvbS5qYXZhZngubWFpbi5Ob0phdmFGWEZhbGxiYWNrIiAgbmFtZT0iQ2FsY3VsYXRvckZYIiA+CiAgICA8cGFyYW0gbmFtZT0icmVxdWlyZWRGWFZlcnNpb24iIHZhbHVlPSI4LjArIi8+CiAgPC9hcHBsZXQtZGVzYz4KICA8amZ4OmphdmFmeC1kZXNjICB3aWR0aD0iODAwIiBoZWlnaHQ9IjYwMCIgbWFpbi1jbGFzcz0iY2FsY3VsYXRvcmZ4LkNhbGN1bGF0b3JGWCIgIG5hbWU9IkNhbGN1bGF0b3JGWCIgLz4KICA8dXBkYXRlIGNoZWNrPSJhbHdheXMiLz4KPC9qbmxwPgo='
  8. },
  9. {
  10. javafx : '8.0+'
  11. },
  12. {}
  13. );
  14. return false;
  15. }
  16. </script>
  17. <script>
  18. function javafxEmbedcalculatorfx() {
  19. dtjava.embed(
  20. {
  21. id : 'calculatorfx',
  22. url : 'CalculatorFX.jnlp',
  23. placeholder : 'javafx-app-placeholder',
  24. width : '800',
  25. height : '600',
  26. jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPGpubHAgc3BlYz0iMS4wIiB4bWxuczpqZng9Imh0dHA6Ly9qYXZhZnguY29tIiBocmVmPSJDYWxjdWxhdG9yRlguam5scCI+CiAgPGluZm9ybWF0aW9uPgogICAgPHRpdGxlPkNhbGN1bGF0b3JGWDwvdGl0bGU+CiAgICA8dmVuZG9yPnNodWJoYW08L3ZlbmRvcj4KICAgIDxkZXNjcmlwdGlvbj5udWxsPC9kZXNjcmlwdGlvbj4KICAgIDxvZmZsaW5lLWFsbG93ZWQvPgogIDwvaW5mb3JtYXRpb24+CiAgPHJlc291cmNlcz4KICAgIDxqMnNlIHZlcnNpb249IjEuNisiIGhyZWY9Imh0dHA6Ly9qYXZhLnN1bi5jb20vcHJvZHVjdHMvYXV0b2RsL2oyc2UiLz4KICAgIDxqYXIgaHJlZj0iQ2FsY3VsYXRvckZYLmphciIgc2l6ZT0iMzA4MiIgZG93bmxvYWQ9ImVhZ2VyIiAvPgogIDwvcmVzb3VyY2VzPgogIDxhcHBsZXQtZGVzYyAgd2lkdGg9IjgwMCIgaGVpZ2h0PSI2MDAiIG1haW4tY2xhc3M9ImNvbS5qYXZhZngubWFpbi5Ob0phdmFGWEZhbGxiYWNrIiAgbmFtZT0iQ2FsY3VsYXRvckZYIiA+CiAgICA8cGFyYW0gbmFtZT0icmVxdWlyZWRGWFZlcnNpb24iIHZhbHVlPSI4LjArIi8+CiAgPC9hcHBsZXQtZGVzYz4KICA8amZ4OmphdmFmeC1kZXNjICB3aWR0aD0iODAwIiBoZWlnaHQ9IjYwMCIgbWFpbi1jbGFzcz0iY2FsY3VsYXRvcmZ4LkNhbGN1bGF0b3JGWCIgIG5hbWU9IkNhbGN1bGF0b3JGWCIgLz4KICA8dXBkYXRlIGNoZWNrPSJhbHdheXMiLz4KPC9qbmxwPgo='
  27. },
  28. {
  29. javafx : '8.0+'
  30. },
  31. {}
  32. );
  33. }
  34. <!-- Embed FX application into web page once page is loaded -->
  35. dtjava.addOnloadCallback(javafxEmbedcalculatorfx);
  36. </script>
  37. </head><body>
  38. <h2>Test page for <b>CalculatorFX</b></h2>
  39. <b>Webstart:</b> <a href='CalculatorFX.jnlp' onclick="return launchApplication('CalculatorFX.jnlp');">click to launch this app as webstart</a><br><hr><br>
  40. <!-- Applet will be inserted here -->
  41. <div id='javafx-app-placeholder'></div>
  42. </body></html>