esoe 2 years ago
parent
commit
e91fc35993
  1. BIN
      java/labs/DEV_J140_1.pdf
  2. BIN
      java/labs/DEV_J140_2.pdf
  3. BIN
      java/labs/DEV_J140_3.pdf
  4. BIN
      java/labs/DEV_J140_4.pdf
  5. 53
      java/samples/fx/JavaFxPaneExample/build.xml
  6. 4
      java/samples/fx/JavaFxPaneExample/build/built-jar.properties
  7. BIN
      java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/AnchorPaneExample.class
  8. BIN
      java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/FlowPaneExample.class
  9. BIN
      java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/GridPaneExample.class
  10. BIN
      java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/HBoxExample.class
  11. BIN
      java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/JavaFxPaneExample$1.class
  12. BIN
      java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/JavaFxPaneExample$2.class
  13. BIN
      java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/JavaFxPaneExample$3.class
  14. BIN
      java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/JavaFxPaneExample$4.class
  15. BIN
      java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/JavaFxPaneExample$5.class
  16. BIN
      java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/JavaFxPaneExample$6.class
  17. BIN
      java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/JavaFxPaneExample.class
  18. BIN
      java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/TextAreaExample.class
  19. BIN
      java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/TilePaneExample.class
  20. 45
      java/samples/fx/JavaFxPaneExample/dist/JavaFxPaneExample.html
  21. BIN
      java/samples/fx/JavaFxPaneExample/dist/JavaFxPaneExample.jar
  22. 18
      java/samples/fx/JavaFxPaneExample/dist/JavaFxPaneExample.jnlp
  23. 3958
      java/samples/fx/JavaFxPaneExample/dist/web-files/dtjava.js
  24. BIN
      java/samples/fx/JavaFxPaneExample/dist/web-files/error.png
  25. BIN
      java/samples/fx/JavaFxPaneExample/dist/web-files/get_java.png
  26. BIN
      java/samples/fx/JavaFxPaneExample/dist/web-files/get_javafx.png
  27. BIN
      java/samples/fx/JavaFxPaneExample/dist/web-files/javafx-chrome.png
  28. BIN
      java/samples/fx/JavaFxPaneExample/dist/web-files/javafx-loading-100x100.gif
  29. BIN
      java/samples/fx/JavaFxPaneExample/dist/web-files/javafx-loading-25x25.gif
  30. BIN
      java/samples/fx/JavaFxPaneExample/dist/web-files/upgrade_java.png
  31. BIN
      java/samples/fx/JavaFxPaneExample/dist/web-files/upgrade_javafx.png
  32. 3
      java/samples/fx/JavaFxPaneExample/manifest.mf
  33. 1421
      java/samples/fx/JavaFxPaneExample/nbproject/build-impl.xml
  34. 2
      java/samples/fx/JavaFxPaneExample/nbproject/configs/______________WebStart.properties
  35. 2
      java/samples/fx/JavaFxPaneExample/nbproject/configs/____________________.properties
  36. 8
      java/samples/fx/JavaFxPaneExample/nbproject/genfiles.properties
  37. 4049
      java/samples/fx/JavaFxPaneExample/nbproject/jfx-impl.xml
  38. 2
      java/samples/fx/JavaFxPaneExample/nbproject/private/configs/______________WebStart.properties
  39. 2
      java/samples/fx/JavaFxPaneExample/nbproject/private/configs/____________________.properties
  40. 4
      java/samples/fx/JavaFxPaneExample/nbproject/private/private.properties
  41. 113
      java/samples/fx/JavaFxPaneExample/nbproject/project.properties
  42. 25
      java/samples/fx/JavaFxPaneExample/nbproject/project.xml
  43. 47
      java/samples/fx/JavaFxPaneExample/src/javafxpaneexample/AnchorPaneExample.java
  44. 38
      java/samples/fx/JavaFxPaneExample/src/javafxpaneexample/FlowPaneExample.java
  45. 54
      java/samples/fx/JavaFxPaneExample/src/javafxpaneexample/GridPaneExample.java
  46. 40
      java/samples/fx/JavaFxPaneExample/src/javafxpaneexample/HBoxExample.java
  47. 95
      java/samples/fx/JavaFxPaneExample/src/javafxpaneexample/JavaFxPaneExample.java
  48. 57
      java/samples/fx/JavaFxPaneExample/src/javafxpaneexample/TextAreaExample.java
  49. 46
      java/samples/fx/JavaFxPaneExample/src/javafxpaneexample/TilePaneExample.java
  50. 53
      java/samples/fx/JavaFxPaneExample_dist/build.xml
  51. 4
      java/samples/fx/JavaFxPaneExample_dist/build/built-jar.properties
  52. BIN
      java/samples/fx/JavaFxPaneExample_dist/build/classes/javafxpaneexample_dist/AnchorPaneExample.class
  53. BIN
      java/samples/fx/JavaFxPaneExample_dist/build/classes/javafxpaneexample_dist/FlowPaneExample$1.class
  54. BIN
      java/samples/fx/JavaFxPaneExample_dist/build/classes/javafxpaneexample_dist/FlowPaneExample.class
  55. BIN
      java/samples/fx/JavaFxPaneExample_dist/build/classes/javafxpaneexample_dist/GridPaneExample.class
  56. BIN
      java/samples/fx/JavaFxPaneExample_dist/build/classes/javafxpaneexample_dist/HBoxExample.class
  57. BIN
      java/samples/fx/JavaFxPaneExample_dist/build/classes/javafxpaneexample_dist/JavaFxPaneExample_dist$1.class
  58. BIN
      java/samples/fx/JavaFxPaneExample_dist/build/classes/javafxpaneexample_dist/JavaFxPaneExample_dist.class
  59. BIN
      java/samples/fx/JavaFxPaneExample_dist/build/classes/javafxpaneexample_dist/TilePaneExample.class
  60. 45
      java/samples/fx/JavaFxPaneExample_dist/dist/JavaFxPaneExample_dist.html
  61. BIN
      java/samples/fx/JavaFxPaneExample_dist/dist/JavaFxPaneExample_dist.jar
  62. 18
      java/samples/fx/JavaFxPaneExample_dist/dist/JavaFxPaneExample_dist.jnlp
  63. 3958
      java/samples/fx/JavaFxPaneExample_dist/dist/web-files/dtjava.js
  64. BIN
      java/samples/fx/JavaFxPaneExample_dist/dist/web-files/error.png
  65. BIN
      java/samples/fx/JavaFxPaneExample_dist/dist/web-files/get_java.png
  66. BIN
      java/samples/fx/JavaFxPaneExample_dist/dist/web-files/get_javafx.png
  67. BIN
      java/samples/fx/JavaFxPaneExample_dist/dist/web-files/javafx-chrome.png
  68. BIN
      java/samples/fx/JavaFxPaneExample_dist/dist/web-files/javafx-loading-100x100.gif
  69. BIN
      java/samples/fx/JavaFxPaneExample_dist/dist/web-files/javafx-loading-25x25.gif
  70. BIN
      java/samples/fx/JavaFxPaneExample_dist/dist/web-files/upgrade_java.png
  71. BIN
      java/samples/fx/JavaFxPaneExample_dist/dist/web-files/upgrade_javafx.png
  72. 3
      java/samples/fx/JavaFxPaneExample_dist/manifest.mf
  73. 1421
      java/samples/fx/JavaFxPaneExample_dist/nbproject/build-impl.xml
  74. 2
      java/samples/fx/JavaFxPaneExample_dist/nbproject/configs/______________WebStart.properties
  75. 2
      java/samples/fx/JavaFxPaneExample_dist/nbproject/configs/____________________.properties
  76. 8
      java/samples/fx/JavaFxPaneExample_dist/nbproject/genfiles.properties
  77. 4049
      java/samples/fx/JavaFxPaneExample_dist/nbproject/jfx-impl.xml
  78. 2
      java/samples/fx/JavaFxPaneExample_dist/nbproject/private/configs/______________WebStart.properties
  79. 2
      java/samples/fx/JavaFxPaneExample_dist/nbproject/private/configs/____________________.properties
  80. 4
      java/samples/fx/JavaFxPaneExample_dist/nbproject/private/private.properties
  81. 4
      java/samples/fx/JavaFxPaneExample_dist/nbproject/private/private.xml
  82. 113
      java/samples/fx/JavaFxPaneExample_dist/nbproject/project.properties
  83. 25
      java/samples/fx/JavaFxPaneExample_dist/nbproject/project.xml
  84. 53
      java/samples/fx/JavaFxPaneExample_dist/src/javafxpaneexample_dist/AnchorPaneExample.java
  85. 44
      java/samples/fx/JavaFxPaneExample_dist/src/javafxpaneexample_dist/FlowPaneExample.java
  86. 47
      java/samples/fx/JavaFxPaneExample_dist/src/javafxpaneexample_dist/GridPaneExample.java
  87. 40
      java/samples/fx/JavaFxPaneExample_dist/src/javafxpaneexample_dist/HBoxExample.java
  88. 70
      java/samples/fx/JavaFxPaneExample_dist/src/javafxpaneexample_dist/JavaFxPaneExample_dist.java
  89. 42
      java/samples/fx/JavaFxPaneExample_dist/src/javafxpaneexample_dist/TilePaneExample.java
  90. 53
      java/samples/fx/PropetiesFx/build.xml
  91. 4
      java/samples/fx/PropetiesFx/build/built-jar.properties
  92. BIN
      java/samples/fx/PropetiesFx/build/classes/propetiesfx/PropetiesFx.class
  93. 45
      java/samples/fx/PropetiesFx/dist/PropetiesFx.html
  94. BIN
      java/samples/fx/PropetiesFx/dist/PropetiesFx.jar
  95. 18
      java/samples/fx/PropetiesFx/dist/PropetiesFx.jnlp
  96. 3958
      java/samples/fx/PropetiesFx/dist/web-files/dtjava.js
  97. BIN
      java/samples/fx/PropetiesFx/dist/web-files/error.png
  98. BIN
      java/samples/fx/PropetiesFx/dist/web-files/get_java.png
  99. BIN
      java/samples/fx/PropetiesFx/dist/web-files/get_javafx.png
  100. BIN
      java/samples/fx/PropetiesFx/dist/web-files/javafx-chrome.png
  101. Some files were not shown because too many files have changed in this diff Show More

BIN
java/labs/DEV_J140_1.pdf

Binary file not shown.

BIN
java/labs/DEV_J140_2.pdf

Binary file not shown.

BIN
java/labs/DEV_J140_3.pdf

Binary file not shown.

BIN
java/labs/DEV_J140_4.pdf

Binary file not shown.

53
java/samples/fx/JavaFxPaneExample/build.xml

@ -0,0 +1,53 @@ @@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?><!-- You may freely edit this file. See commented blocks below for --><!-- some examples of how to customize the build. --><!-- (If you delete it and reopen the project it will be recreated.) --><!-- By default, only the Clean and Build commands use this build script. --><project name="JavaFxPaneExample" default="default" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
<description>Builds, tests, and runs the project JavaFxPaneExample.</description>
<import file="nbproject/build-impl.xml"/>
<!--
There exist several targets which are by default empty and which can be
used for execution of your tasks. These targets are usually executed
before and after some main targets. Those of them relevant for JavaFX project are:
-pre-init: called before initialization of project properties
-post-init: called after initialization of project properties
-pre-compile: called before javac compilation
-post-compile: called after javac compilation
-pre-compile-test: called before javac compilation of JUnit tests
-post-compile-test: called after javac compilation of JUnit tests
-pre-jfx-jar: called before FX SDK specific <fx:jar> task
-post-jfx-jar: called after FX SDK specific <fx:jar> task
-pre-jfx-deploy: called before FX SDK specific <fx:deploy> task
-post-jfx-deploy: called after FX SDK specific <fx:deploy> task
-pre-jfx-native: called just after -pre-jfx-deploy if <fx:deploy> runs in native packaging mode
-post-jfx-native: called just after -post-jfx-deploy if <fx:deploy> runs in native packaging mode
-post-clean: called after cleaning build products
(Targets beginning with '-' are not intended to be called on their own.)
Example of inserting a HTML postprocessor after javaFX SDK deployment:
<target name="-post-jfx-deploy">
<basename property="jfx.deployment.base" file="${jfx.deployment.jar}" suffix=".jar"/>
<property name="jfx.deployment.html" location="${jfx.deployment.dir}${file.separator}${jfx.deployment.base}.html"/>
<custompostprocess>
<fileset dir="${jfx.deployment.html}"/>
</custompostprocess>
</target>
Example of calling an Ant task from JavaFX SDK. Note that access to JavaFX SDK Ant tasks must be
initialized; to ensure this is done add the dependence on -check-jfx-sdk-version target:
<target name="-post-jfx-jar" depends="-check-jfx-sdk-version">
<echo message="Calling jar task from JavaFX SDK"/>
<fx:jar ...>
...
</fx:jar>
</target>
For more details about JavaFX SDK Ant tasks go to
http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm
For list of available properties check the files
nbproject/build-impl.xml and nbproject/jfx-impl.xml.
-->
</project>

4
java/samples/fx/JavaFxPaneExample/build/built-jar.properties

@ -0,0 +1,4 @@ @@ -0,0 +1,4 @@
#Wed, 08 Feb 2023 21:00:59 +0300
C\:\\Users\\denis.LAPTOP-4LI8UQ4O\\OneDrive\\\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b\\\u041b\u0430\u0431\u044b\u0421\u0442\u0443\u0434\u0435\u043d\u0442\u043e\u0432\\\u0420\u043e\u0436\u043d\u043e\u0432\\JavaFxPaneExample=

BIN
java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/AnchorPaneExample.class

Binary file not shown.

BIN
java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/FlowPaneExample.class

Binary file not shown.

BIN
java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/GridPaneExample.class

Binary file not shown.

BIN
java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/HBoxExample.class

Binary file not shown.

BIN
java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/JavaFxPaneExample$1.class

Binary file not shown.

BIN
java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/JavaFxPaneExample$2.class

Binary file not shown.

BIN
java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/JavaFxPaneExample$3.class

Binary file not shown.

BIN
java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/JavaFxPaneExample$4.class

Binary file not shown.

BIN
java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/JavaFxPaneExample$5.class

Binary file not shown.

BIN
java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/JavaFxPaneExample$6.class

Binary file not shown.

BIN
java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/JavaFxPaneExample.class

Binary file not shown.

BIN
java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/TextAreaExample.class

Binary file not shown.

BIN
java/samples/fx/JavaFxPaneExample/build/classes/javafxpaneexample/TilePaneExample.class

Binary file not shown.

45
java/samples/fx/JavaFxPaneExample/dist/JavaFxPaneExample.html vendored

@ -0,0 +1,45 @@ @@ -0,0 +1,45 @@
<html><head>
<SCRIPT src="./web-files/dtjava.js"></SCRIPT>
<script>
function launchApplication(jnlpfile) {
dtjava.launch( {
url : 'JavaFxPaneExample.jnlp',
jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxqbmxwIHNwZWM9IjEuMCIgeG1sbnM6amZ4PSJodHRwOi8vamF2YWZ4LmNvbSIgaHJlZj0iSmF2YUZ4UGFuZUV4YW1wbGUuam5scCI+DQogIDxpbmZvcm1hdGlvbj4NCiAgICA8dGl0bGU+SmF2YUZ4UGFuZUV4YW1wbGU8L3RpdGxlPg0KICAgIDx2ZW5kb3I+ZGVuaXM8L3ZlbmRvcj4NCiAgICA8ZGVzY3JpcHRpb24+bnVsbDwvZGVzY3JpcHRpb24+DQogICAgPG9mZmxpbmUtYWxsb3dlZC8+DQogIDwvaW5mb3JtYXRpb24+DQogIDxyZXNvdXJjZXM+DQogICAgPGoyc2UgdmVyc2lvbj0iMS42KyIgaHJlZj0iaHR0cDovL2phdmEuc3VuLmNvbS9wcm9kdWN0cy9hdXRvZGwvajJzZSIvPg0KICAgIDxqYXIgaHJlZj0iSmF2YUZ4UGFuZUV4YW1wbGUuamFyIiBzaXplPSIxNDgyMCIgZG93bmxvYWQ9ImVhZ2VyIiAvPg0KICA8L3Jlc291cmNlcz4NCiAgPGFwcGxldC1kZXNjICB3aWR0aD0iODAwIiBoZWlnaHQ9IjYwMCIgbWFpbi1jbGFzcz0iY29tLmphdmFmeC5tYWluLk5vSmF2YUZYRmFsbGJhY2siICBuYW1lPSJKYXZhRnhQYW5lRXhhbXBsZSIgPg0KICAgIDxwYXJhbSBuYW1lPSJyZXF1aXJlZEZYVmVyc2lvbiIgdmFsdWU9IjguMCsiLz4NCiAgPC9hcHBsZXQtZGVzYz4NCiAgPGpmeDpqYXZhZngtZGVzYyAgd2lkdGg9IjgwMCIgaGVpZ2h0PSI2MDAiIG1haW4tY2xhc3M9ImphdmFmeHBhbmVleGFtcGxlLkphdmFGeFBhbmVFeGFtcGxlIiAgbmFtZT0iSmF2YUZ4UGFuZUV4YW1wbGUiIC8+DQogIDx1cGRhdGUgY2hlY2s9ImFsd2F5cyIvPg0KPC9qbmxwPg0K'
},
{
javafx : '8.0+'
},
{}
);
return false;
}
</script>
<script>
function javafxEmbedjavafxpaneexample() {
dtjava.embed(
{
id : 'javafxpaneexample',
url : 'JavaFxPaneExample.jnlp',
placeholder : 'javafx-app-placeholder',
width : '800',
height : '600',
jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxqbmxwIHNwZWM9IjEuMCIgeG1sbnM6amZ4PSJodHRwOi8vamF2YWZ4LmNvbSIgaHJlZj0iSmF2YUZ4UGFuZUV4YW1wbGUuam5scCI+DQogIDxpbmZvcm1hdGlvbj4NCiAgICA8dGl0bGU+SmF2YUZ4UGFuZUV4YW1wbGU8L3RpdGxlPg0KICAgIDx2ZW5kb3I+ZGVuaXM8L3ZlbmRvcj4NCiAgICA8ZGVzY3JpcHRpb24+bnVsbDwvZGVzY3JpcHRpb24+DQogICAgPG9mZmxpbmUtYWxsb3dlZC8+DQogIDwvaW5mb3JtYXRpb24+DQogIDxyZXNvdXJjZXM+DQogICAgPGoyc2UgdmVyc2lvbj0iMS42KyIgaHJlZj0iaHR0cDovL2phdmEuc3VuLmNvbS9wcm9kdWN0cy9hdXRvZGwvajJzZSIvPg0KICAgIDxqYXIgaHJlZj0iSmF2YUZ4UGFuZUV4YW1wbGUuamFyIiBzaXplPSIxNDgyMCIgZG93bmxvYWQ9ImVhZ2VyIiAvPg0KICA8L3Jlc291cmNlcz4NCiAgPGFwcGxldC1kZXNjICB3aWR0aD0iODAwIiBoZWlnaHQ9IjYwMCIgbWFpbi1jbGFzcz0iY29tLmphdmFmeC5tYWluLk5vSmF2YUZYRmFsbGJhY2siICBuYW1lPSJKYXZhRnhQYW5lRXhhbXBsZSIgPg0KICAgIDxwYXJhbSBuYW1lPSJyZXF1aXJlZEZYVmVyc2lvbiIgdmFsdWU9IjguMCsiLz4NCiAgPC9hcHBsZXQtZGVzYz4NCiAgPGpmeDpqYXZhZngtZGVzYyAgd2lkdGg9IjgwMCIgaGVpZ2h0PSI2MDAiIG1haW4tY2xhc3M9ImphdmFmeHBhbmVleGFtcGxlLkphdmFGeFBhbmVFeGFtcGxlIiAgbmFtZT0iSmF2YUZ4UGFuZUV4YW1wbGUiIC8+DQogIDx1cGRhdGUgY2hlY2s9ImFsd2F5cyIvPg0KPC9qbmxwPg0K'
},
{
javafx : '8.0+'
},
{}
);
}
<!-- Embed FX application into web page once page is loaded -->
dtjava.addOnloadCallback(javafxEmbedjavafxpaneexample);
</script>
</head><body>
<h2>Test page for <b>JavaFxPaneExample</b></h2>
<b>Webstart:</b> <a href='JavaFxPaneExample.jnlp' onclick="return launchApplication('JavaFxPaneExample.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>

BIN
java/samples/fx/JavaFxPaneExample/dist/JavaFxPaneExample.jar vendored

Binary file not shown.

18
java/samples/fx/JavaFxPaneExample/dist/JavaFxPaneExample.jnlp vendored

@ -0,0 +1,18 @@ @@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="JavaFxPaneExample.jnlp">
<information>
<title>JavaFxPaneExample</title>
<vendor>denis</vendor>
<description>null</description>
<offline-allowed/>
</information>
<resources>
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
<jar href="JavaFxPaneExample.jar" size="14820" download="eager" />
</resources>
<applet-desc width="800" height="600" main-class="com.javafx.main.NoJavaFXFallback" name="JavaFxPaneExample" >
<param name="requiredFXVersion" value="8.0+"/>
</applet-desc>
<jfx:javafx-desc width="800" height="600" main-class="javafxpaneexample.JavaFxPaneExample" name="JavaFxPaneExample" />
<update check="always"/>
</jnlp>

3958
java/samples/fx/JavaFxPaneExample/dist/web-files/dtjava.js vendored

File diff suppressed because it is too large Load Diff

BIN
java/samples/fx/JavaFxPaneExample/dist/web-files/error.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 725 B

BIN
java/samples/fx/JavaFxPaneExample/dist/web-files/get_java.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

BIN
java/samples/fx/JavaFxPaneExample/dist/web-files/get_javafx.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
java/samples/fx/JavaFxPaneExample/dist/web-files/javafx-chrome.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
java/samples/fx/JavaFxPaneExample/dist/web-files/javafx-loading-100x100.gif vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
java/samples/fx/JavaFxPaneExample/dist/web-files/javafx-loading-25x25.gif vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
java/samples/fx/JavaFxPaneExample/dist/web-files/upgrade_java.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
java/samples/fx/JavaFxPaneExample/dist/web-files/upgrade_javafx.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

3
java/samples/fx/JavaFxPaneExample/manifest.mf

@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
Manifest-Version: 1.0
X-COMMENT: Main-Class will be added automatically by build

1421
java/samples/fx/JavaFxPaneExample/nbproject/build-impl.xml

File diff suppressed because it is too large Load Diff

2
java/samples/fx/JavaFxPaneExample/nbproject/configs/______________WebStart.properties

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
# Do not modify this property in this configuration. It can be re-generated.
$label=\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043a\u0430\u043a WebStart

2
java/samples/fx/JavaFxPaneExample/nbproject/configs/____________________.properties

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
# Do not modify this property in this configuration. It can be re-generated.
$label=\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435

8
java/samples/fx/JavaFxPaneExample/nbproject/genfiles.properties

@ -0,0 +1,8 @@ @@ -0,0 +1,8 @@
build.xml.data.CRC32=99757107
build.xml.script.CRC32=121c430b
build.xml.stylesheet.CRC32=8064a381@1.80.1.48
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=99757107
nbproject/build-impl.xml.script.CRC32=13eb4f67
nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48

4049
java/samples/fx/JavaFxPaneExample/nbproject/jfx-impl.xml

File diff suppressed because it is too large Load Diff

2
java/samples/fx/JavaFxPaneExample/nbproject/private/configs/______________WebStart.properties

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
# Do not modify this property in this configuration. It can be re-generated.
javafx.run.as=webstart

2
java/samples/fx/JavaFxPaneExample/nbproject/private/configs/____________________.properties

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
# Do not modify this property in this configuration. It can be re-generated.
javafx.run.as=embedded

4
java/samples/fx/JavaFxPaneExample/nbproject/private/private.properties

@ -0,0 +1,4 @@ @@ -0,0 +1,4 @@
auxiliary.org-netbeans-modules-projectapi.issue214819_5f_fx_5f_enabled=true
# \u041d\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0432 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u044d\u0442\u043e\u0433\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0434\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0437\u0430\u0434\u0430\u0447\u0438 JavaFX Ant
endorsed.javafx.ant.classpath=.
user.properties.file=C:\\Users\\denis.LAPTOP-4LI8UQ4O\\AppData\\Roaming\\NetBeans\\8.2\\build.properties

113
java/samples/fx/JavaFxPaneExample/nbproject/project.properties

@ -0,0 +1,113 @@ @@ -0,0 +1,113 @@
annotation.processing.enabled=true
annotation.processing.enabled.in.editor=false
annotation.processing.processor.options=
annotation.processing.processors.list=
annotation.processing.run.all.processors=true
annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
application.title=JavaFxPaneExample
application.vendor=denis
build.classes.dir=${build.dir}/classes
build.classes.excludes=**/*.java,**/*.form
# This directory is removed when the project is cleaned:
build.dir=build
build.generated.dir=${build.dir}/generated
build.generated.sources.dir=${build.dir}/generated-sources
# Only compile against the classpath explicitly listed here:
build.sysclasspath=ignore
build.test.classes.dir=${build.dir}/test/classes
build.test.results.dir=${build.dir}/test/results
compile.on.save=true
compile.on.save.unsupported.javafx=true
# Uncomment to specify the preferred debugger connection transport:
#debug.transport=dt_socket
debug.classpath=\
${run.classpath}
debug.test.classpath=\
${run.test.classpath}
# This directory is removed when the project is cleaned:
dist.dir=dist
dist.jar=${dist.dir}/JavaFxPaneExample.jar
dist.javadoc.dir=${dist.dir}/javadoc
endorsed.classpath=
excludes=
includes=**
# Non-JavaFX jar file creation is deactivated in JavaFX 2.0+ projects
jar.archive.disabled=true
jar.compress=false
javac.classpath=\
${javafx.classpath.extension}
# Space-separated list of extra javac options
javac.compilerargs=
javac.deprecation=false
javac.processorpath=\
${javac.classpath}
javac.source=1.8
javac.target=1.8
javac.test.classpath=\
${javac.classpath}:\
${build.classes.dir}
javac.test.processorpath=\
${javac.test.classpath}
javadoc.additionalparam=
javadoc.author=false
javadoc.encoding=${source.encoding}
javadoc.noindex=false
javadoc.nonavbar=false
javadoc.notree=false
javadoc.private=false
javadoc.splitindex=true
javadoc.use=true
javadoc.version=false
javadoc.windowtitle=
javafx.application.implementation.version=1.0
javafx.binarycss=false
javafx.classpath.extension=\
${java.home}/lib/javaws.jar:\
${java.home}/lib/deploy.jar:\
${java.home}/lib/plugin.jar
javafx.deploy.allowoffline=true
# If true, application update mode is set to 'background', if false, update mode is set to 'eager'
javafx.deploy.backgroundupdate=false
javafx.deploy.embedJNLP=true
javafx.deploy.includeDT=true
# \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 'true' \u0434\u043b\u044f \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u043a\u043e\u043f\u0438\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u043e\u0432 \u0434\u043e \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430 (\u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0438)
javafx.disable.concurrent.runs=false
# \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 'true' \u0434\u043b\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0445 \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u0432 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 Run-in-Browser \u0438\u043b\u0438 WebStart
javafx.enable.concurrent.external.runs=false
# This is a JavaFX project
javafx.enabled=true
javafx.fallback.class=com.javafx.main.NoJavaFXFallback
# Main class for JavaFX
javafx.main.class=javafxpaneexample.JavaFxPaneExample
javafx.preloader.class=
# This project does not use Preloader
javafx.preloader.enabled=false
javafx.preloader.jar.filename=
javafx.preloader.jar.path=
javafx.preloader.project.path=
javafx.preloader.type=none
# Set true for GlassFish only. Rebases manifest classpaths of JARs in lib dir. Not usable with signed JARs.
javafx.rebase.libs=false
javafx.run.height=600
javafx.run.width=800
# Pre-JavaFX 2.0 WebStart is deactivated in JavaFX 2.0+ projects
jnlp.enabled=false
# Main class for Java launcher
main.class=com.javafx.main.Main
# \u0414\u043b\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u043d\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0442\u043e\u0447\u043d\u0435\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442\u0430 Codebase \u0434\u043b\u044f \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f RIA
manifest.custom.codebase=*
# \u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442\u0430 Permissions \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e (\u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b: sandbox, all-permissions)
manifest.custom.permissions=
manifest.file=manifest.mf
meta.inf.dir=${src.dir}/META-INF
platform.active=default_platform
run.classpath=\
${dist.jar}:\
${javac.classpath}:\
${build.classes.dir}
run.test.classpath=\
${javac.test.classpath}:\
${build.test.classes.dir}
source.encoding=UTF-8
src.dir=src
test.src.dir=test

25
java/samples/fx/JavaFxPaneExample/nbproject/project.xml

@ -0,0 +1,25 @@ @@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.java.j2seproject</type>
<configuration>
<buildExtensions xmlns="http://www.netbeans.org/ns/ant-build-extender/1">
<extension file="jfx-impl.xml" id="jfx3">
<dependency dependsOn="-jfx-copylibs" target="-post-jar"/>
<dependency dependsOn="-rebase-libs" target="-post-jar"/>
<dependency dependsOn="jfx-deployment" target="-post-jar"/>
<dependency dependsOn="jar" target="debug"/>
<dependency dependsOn="jar" target="profile"/>
<dependency dependsOn="jar" target="run"/>
</extension>
</buildExtensions>
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
<name>JavaFxPaneExample</name>
<source-roots>
<root id="src.dir"/>
</source-roots>
<test-roots>
<root id="test.src.dir"/>
</test-roots>
</data>
</configuration>
</project>

47
java/samples/fx/JavaFxPaneExample/src/javafxpaneexample/AnchorPaneExample.java

@ -0,0 +1,47 @@ @@ -0,0 +1,47 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxpaneexample;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Stage;
/**
*
* @author denis
*/
public class AnchorPaneExample extends Stage{
public void init(){
Button btn1 = new Button("Button 1");
Button btn2 = new Button("Button 2 Button");
Button btn3 = new Button("Button 3");
Button btn4 = new Button("Button 4");
Button btn5 = new Button("Button 5");
Button btn6 = new Button("Button 6");
Button btn7 = new Button("Button 7");
Button btn8 = new Button("Button 8 hrvydhtyndtybrtstr");
Button btn9 = new Button("Button 9");
AnchorPane root = new AnchorPane();
AnchorPane.setTopAnchor(btn1, 10.0);
AnchorPane.setLeftAnchor(btn1, 10.0);
AnchorPane.setRightAnchor(btn1, 10.0);
AnchorPane.setBottomAnchor(btn2, 10.0);
AnchorPane.setLeftAnchor(btn2, 10.0);
AnchorPane.setRightAnchor(btn2, 10.0);
root.setPadding(new Insets(10, 10, 10, 10));
root.getChildren().addAll(btn1, btn2);
Scene scene = new Scene(root, 300, 250);
setTitle("Hello World!");
setScene(scene);
show();
}
}

38
java/samples/fx/JavaFxPaneExample/src/javafxpaneexample/FlowPaneExample.java

@ -0,0 +1,38 @@ @@ -0,0 +1,38 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxpaneexample;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.FlowPane;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;
/**
*
* @author denis
*/
public class FlowPaneExample extends Stage{
public void init(){
Button btn1 = new Button("Button 1");
Button btn2 = new Button("Button 2");
Button btn3 = new Button("Button 3");
Button btn4 = new Button("Button 4");
Button btn5 = new Button("Button 5");
FlowPane root = new FlowPane();
root.getChildren().addAll(btn1, btn2, btn3, btn4, btn5);
Scene scene = new Scene(root, 300, 250);
setTitle("Hello World!");
setScene(scene);
show();
}
}

54
java/samples/fx/JavaFxPaneExample/src/javafxpaneexample/GridPaneExample.java

@ -0,0 +1,54 @@ @@ -0,0 +1,54 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxpaneexample;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.layout.GridPane;
import javafx.scene.paint.Paint;
import javafx.scene.text.Font;
import javafx.stage.Stage;
/**
*
* @author denis
*/
public class GridPaneExample extends Stage{
public void init(){
GridPane root = new GridPane();
Button btn1 = new Button("Button 1");
root.add(btn1, 0, 0);
Label label = new Label("Label label");
label.setFont(Font.font(40));
label.setTextFill(Paint.valueOf("red"));
root.add(label, 1, 0, 5, 1);
Button btn3 = new Button("Button 3");
root.add(btn3, 0, 1);
Button btn4 = new Button("Button 4");
root.add(btn4, 0, 2);
Button btn5 = new Button("Button 5");
root.add(btn5, 2, 3);
Button btn6 = new Button("Button 6");
root.add(btn6, 3, 4);
Button btn7 = new Button("Button 7");
root.add(btn7, 4, 4);
Button btn8 = new Button("Button 8 hrvydhtyndtybrtstr");
root.add(btn8, 0, 5, 3, 1);
Button btn9 = new Button("Button 9");
root.add(btn9, 0, 6);
root.setOnMouseClicked(e -> {
System.out.println("Click count = " + e.getClickCount());
});
Scene scene = new Scene(root, 300, 250);
setTitle("Hello World!");
setScene(scene);
show();
}
}

40
java/samples/fx/JavaFxPaneExample/src/javafxpaneexample/HBoxExample.java

@ -0,0 +1,40 @@ @@ -0,0 +1,40 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxpaneexample;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.HBox;
import javafx.stage.Stage;
/**
*
* @author denis
*/
public class HBoxExample extends Stage{
public void init(){
Button btn1 = new Button("Button 1");
Button btn2 = new Button("Button 2");
Button btn3 = new Button("Button 3");
Button btn4 = new Button("Button 4");
Button btn5 = new Button("Button 5");
HBox root = new HBox();
root.setAlignment(Pos.CENTER);
root.setSpacing(20);
root.setOnMouseClicked(e -> {
System.out.println("Click count = " + e.getClickCount());
});
root.getChildren().addAll(btn1, btn2, btn3, btn4, btn5);
Scene scene = new Scene(root, 300, 250);
setTitle("Hello World!");
setScene(scene);
show();
}
}

95
java/samples/fx/JavaFxPaneExample/src/javafxpaneexample/JavaFxPaneExample.java

@ -0,0 +1,95 @@ @@ -0,0 +1,95 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxpaneexample;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.StackPane;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
/**
*
* @author denis
*/
public class JavaFxPaneExample extends Application {
@Override
public void start(Stage primaryStage) {
Button btn = new Button("FlowPane");
btn.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
new FlowPaneExample().init();
}
});
Button btn2 = new Button("HBox");
btn2.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
new HBoxExample().init();
}
});
Button btn3 = new Button("TilePane");
btn3.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
new TilePaneExample().init();
}
});
Button btn4 = new Button("GridPane");
btn4.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
new GridPaneExample().init();
}
});
Button btn5 = new Button("AnchorPane");
btn5.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
new AnchorPaneExample().init();
}
});
Button btn6 = new Button("TextAreaExample");
btn6.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
new TextAreaExample().init();
}
});
VBox root = new VBox();
root.getChildren().addAll(btn, btn2, btn3, btn4, btn5, btn6);
Scene scene = new Scene(root, 300, 250);
primaryStage.setTitle("Hello World!");
primaryStage.setScene(scene);
primaryStage.show();
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
launch(args);
}
}

57
java/samples/fx/JavaFxPaneExample/src/javafxpaneexample/TextAreaExample.java

@ -0,0 +1,57 @@ @@ -0,0 +1,57 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxpaneexample;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.TextArea;
import javafx.scene.control.TextField;
import javafx.scene.input.KeyCode;
import javafx.scene.layout.*;
import javafx.scene.layout.GridPane;
import javafx.stage.Stage;
/**
*
* @author denis
*/
public class TextAreaExample extends Stage{
public void init(){
TextField field = new TextField();
TextArea area = new TextArea();
Button append = new Button("Append");
Button clear = new Button("Clear");
append.setOnAction(e -> {
area.appendText(field.getText() + "\n");
field.clear();
});
field.setOnKeyPressed(e -> {
if(e.getCode().equals(KeyCode.ENTER)){
area.appendText(field.getText() + "\n");
field.clear();
}
});
clear.setOnAction(e -> {
area.clear();
field.clear();
});
GridPane root = new GridPane();
root.add(field, 0, 0, 100, 1);
root.add(area, 0, 2, 100, 10);
HBox hBox = new HBox(10, append, clear);
hBox.setAlignment(Pos.CENTER);
root.add(hBox, 30, 13, 100, 1);
Scene scene = new Scene(root, 300, 250);
setTitle("TextAreaExample");
setScene(scene);
show();
}
}

46
java/samples/fx/JavaFxPaneExample/src/javafxpaneexample/TilePaneExample.java

@ -0,0 +1,46 @@ @@ -0,0 +1,46 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxpaneexample;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.HBox;
import javafx.scene.layout.TilePane;
import javafx.stage.Stage;
/**
*
* @author denis
*/
public class TilePaneExample extends Stage{
public void init(){
Button btn1 = new Button("Button 1");
Button btn2 = new Button("Button 2 Button");
Button btn3 = new Button("Button 3");
Button btn4 = new Button("Button 4");
Button btn5 = new Button("Button 5");
Button btn6 = new Button("Button 6");
Button btn7 = new Button("Button 7");
Button btn8 = new Button("Button 8 hrvydhtyndtybrtstr");
Button btn9 = new Button("Button 9");
TilePane root = new TilePane();
root.setAlignment(Pos.CENTER);
root.setPrefColumns(3);
root.setPrefRows(0);
root.setOnMouseClicked(e -> {
System.out.println("Click count = " + e.getClickCount());
});
root.getChildren().addAll(btn1, btn2, btn3, btn4, btn5, btn6, btn7, btn8, btn9);
Scene scene = new Scene(root, 300, 250);
setTitle("Hello World!");
setScene(scene);
show();
}
}

53
java/samples/fx/JavaFxPaneExample_dist/build.xml vendored

@ -0,0 +1,53 @@ @@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?><!-- You may freely edit this file. See commented blocks below for --><!-- some examples of how to customize the build. --><!-- (If you delete it and reopen the project it will be recreated.) --><!-- By default, only the Clean and Build commands use this build script. --><project name="JavaFxPaneExample_dist" default="default" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
<description>Builds, tests, and runs the project JavaFxPaneExample_dist.</description>
<import file="nbproject/build-impl.xml"/>
<!--
There exist several targets which are by default empty and which can be
used for execution of your tasks. These targets are usually executed
before and after some main targets. Those of them relevant for JavaFX project are:
-pre-init: called before initialization of project properties
-post-init: called after initialization of project properties
-pre-compile: called before javac compilation
-post-compile: called after javac compilation
-pre-compile-test: called before javac compilation of JUnit tests
-post-compile-test: called after javac compilation of JUnit tests
-pre-jfx-jar: called before FX SDK specific <fx:jar> task
-post-jfx-jar: called after FX SDK specific <fx:jar> task
-pre-jfx-deploy: called before FX SDK specific <fx:deploy> task
-post-jfx-deploy: called after FX SDK specific <fx:deploy> task
-pre-jfx-native: called just after -pre-jfx-deploy if <fx:deploy> runs in native packaging mode
-post-jfx-native: called just after -post-jfx-deploy if <fx:deploy> runs in native packaging mode
-post-clean: called after cleaning build products
(Targets beginning with '-' are not intended to be called on their own.)
Example of inserting a HTML postprocessor after javaFX SDK deployment:
<target name="-post-jfx-deploy">
<basename property="jfx.deployment.base" file="${jfx.deployment.jar}" suffix=".jar"/>
<property name="jfx.deployment.html" location="${jfx.deployment.dir}${file.separator}${jfx.deployment.base}.html"/>
<custompostprocess>
<fileset dir="${jfx.deployment.html}"/>
</custompostprocess>
</target>
Example of calling an Ant task from JavaFX SDK. Note that access to JavaFX SDK Ant tasks must be
initialized; to ensure this is done add the dependence on -check-jfx-sdk-version target:
<target name="-post-jfx-jar" depends="-check-jfx-sdk-version">
<echo message="Calling jar task from JavaFX SDK"/>
<fx:jar ...>
...
</fx:jar>
</target>
For more details about JavaFX SDK Ant tasks go to
http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm
For list of available properties check the files
nbproject/build-impl.xml and nbproject/jfx-impl.xml.
-->
</project>

4
java/samples/fx/JavaFxPaneExample_dist/build/built-jar.properties vendored

@ -0,0 +1,4 @@ @@ -0,0 +1,4 @@
#Fri, 10 Feb 2023 20:13:21 +0300
C\:\\Users\\denis.LAPTOP-4LI8UQ4O\\OneDrive\\\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b\\\u041b\u0430\u0431\u044b\u0421\u0442\u0443\u0434\u0435\u043d\u0442\u043e\u0432\\\u0420\u043e\u0436\u043d\u043e\u0432\\JavaFxPaneExample_dist=

BIN
java/samples/fx/JavaFxPaneExample_dist/build/classes/javafxpaneexample_dist/AnchorPaneExample.class vendored

Binary file not shown.

BIN
java/samples/fx/JavaFxPaneExample_dist/build/classes/javafxpaneexample_dist/FlowPaneExample$1.class vendored

Binary file not shown.

BIN
java/samples/fx/JavaFxPaneExample_dist/build/classes/javafxpaneexample_dist/FlowPaneExample.class vendored

Binary file not shown.

BIN
java/samples/fx/JavaFxPaneExample_dist/build/classes/javafxpaneexample_dist/GridPaneExample.class vendored

Binary file not shown.

BIN
java/samples/fx/JavaFxPaneExample_dist/build/classes/javafxpaneexample_dist/HBoxExample.class vendored

Binary file not shown.

BIN
java/samples/fx/JavaFxPaneExample_dist/build/classes/javafxpaneexample_dist/JavaFxPaneExample_dist$1.class vendored

Binary file not shown.

BIN
java/samples/fx/JavaFxPaneExample_dist/build/classes/javafxpaneexample_dist/JavaFxPaneExample_dist.class vendored

Binary file not shown.

BIN
java/samples/fx/JavaFxPaneExample_dist/build/classes/javafxpaneexample_dist/TilePaneExample.class vendored

Binary file not shown.

45
java/samples/fx/JavaFxPaneExample_dist/dist/JavaFxPaneExample_dist.html vendored

@ -0,0 +1,45 @@ @@ -0,0 +1,45 @@
<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>

BIN
java/samples/fx/JavaFxPaneExample_dist/dist/JavaFxPaneExample_dist.jar vendored

Binary file not shown.

18
java/samples/fx/JavaFxPaneExample_dist/dist/JavaFxPaneExample_dist.jnlp vendored

@ -0,0 +1,18 @@ @@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="JavaFxPaneExample_dist.jnlp">
<information>
<title>JavaFxPaneExample_dist</title>
<vendor>denis</vendor>
<description>null</description>
<offline-allowed/>
</information>
<resources>
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
<jar href="JavaFxPaneExample_dist.jar" size="9246" download="eager" />
</resources>
<applet-desc width="800" height="600" main-class="com.javafx.main.NoJavaFXFallback" name="JavaFxPaneExample_dist" >
<param name="requiredFXVersion" value="8.0+"/>
</applet-desc>
<jfx:javafx-desc width="800" height="600" main-class="javafxpaneexample_dist.JavaFxPaneExample_dist" name="JavaFxPaneExample_dist" />
<update check="always"/>
</jnlp>

3958
java/samples/fx/JavaFxPaneExample_dist/dist/web-files/dtjava.js vendored

File diff suppressed because it is too large Load Diff

BIN
java/samples/fx/JavaFxPaneExample_dist/dist/web-files/error.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 725 B

BIN
java/samples/fx/JavaFxPaneExample_dist/dist/web-files/get_java.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

BIN
java/samples/fx/JavaFxPaneExample_dist/dist/web-files/get_javafx.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
java/samples/fx/JavaFxPaneExample_dist/dist/web-files/javafx-chrome.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
java/samples/fx/JavaFxPaneExample_dist/dist/web-files/javafx-loading-100x100.gif vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
java/samples/fx/JavaFxPaneExample_dist/dist/web-files/javafx-loading-25x25.gif vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
java/samples/fx/JavaFxPaneExample_dist/dist/web-files/upgrade_java.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
java/samples/fx/JavaFxPaneExample_dist/dist/web-files/upgrade_javafx.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

3
java/samples/fx/JavaFxPaneExample_dist/manifest.mf vendored

@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
Manifest-Version: 1.0
X-COMMENT: Main-Class will be added automatically by build

1421
java/samples/fx/JavaFxPaneExample_dist/nbproject/build-impl.xml vendored

File diff suppressed because it is too large Load Diff

2
java/samples/fx/JavaFxPaneExample_dist/nbproject/configs/______________WebStart.properties vendored

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
# Do not modify this property in this configuration. It can be re-generated.
$label=\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043a\u0430\u043a WebStart

2
java/samples/fx/JavaFxPaneExample_dist/nbproject/configs/____________________.properties vendored

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
# Do not modify this property in this configuration. It can be re-generated.
$label=\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435

8
java/samples/fx/JavaFxPaneExample_dist/nbproject/genfiles.properties vendored

@ -0,0 +1,8 @@ @@ -0,0 +1,8 @@
build.xml.data.CRC32=2af0faa7
build.xml.script.CRC32=ab8e9755
build.xml.stylesheet.CRC32=8064a381@1.80.1.48
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=2af0faa7
nbproject/build-impl.xml.script.CRC32=9be45100
nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48

4049
java/samples/fx/JavaFxPaneExample_dist/nbproject/jfx-impl.xml vendored

File diff suppressed because it is too large Load Diff

2
java/samples/fx/JavaFxPaneExample_dist/nbproject/private/configs/______________WebStart.properties vendored

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
# Do not modify this property in this configuration. It can be re-generated.
javafx.run.as=webstart

2
java/samples/fx/JavaFxPaneExample_dist/nbproject/private/configs/____________________.properties vendored

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
# Do not modify this property in this configuration. It can be re-generated.
javafx.run.as=embedded

4
java/samples/fx/JavaFxPaneExample_dist/nbproject/private/private.properties vendored

@ -0,0 +1,4 @@ @@ -0,0 +1,4 @@
auxiliary.org-netbeans-modules-projectapi.issue214819_5f_fx_5f_enabled=true
# \u041d\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0432 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u044d\u0442\u043e\u0433\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0434\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0437\u0430\u0434\u0430\u0447\u0438 JavaFX Ant
endorsed.javafx.ant.classpath=.
user.properties.file=C:\\Users\\denis.LAPTOP-4LI8UQ4O\\AppData\\Roaming\\NetBeans\\8.2\\build.properties

4
java/samples/fx/JavaFxPaneExample_dist/nbproject/private/private.xml vendored

@ -0,0 +1,4 @@ @@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
</project-private>

113
java/samples/fx/JavaFxPaneExample_dist/nbproject/project.properties vendored

@ -0,0 +1,113 @@ @@ -0,0 +1,113 @@
annotation.processing.enabled=true
annotation.processing.enabled.in.editor=false
annotation.processing.processor.options=
annotation.processing.processors.list=
annotation.processing.run.all.processors=true
annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
application.title=JavaFxPaneExample_dist
application.vendor=denis
build.classes.dir=${build.dir}/classes
build.classes.excludes=**/*.java,**/*.form
# This directory is removed when the project is cleaned:
build.dir=build
build.generated.dir=${build.dir}/generated
build.generated.sources.dir=${build.dir}/generated-sources
# Only compile against the classpath explicitly listed here:
build.sysclasspath=ignore
build.test.classes.dir=${build.dir}/test/classes
build.test.results.dir=${build.dir}/test/results
compile.on.save=true
compile.on.save.unsupported.javafx=true
# Uncomment to specify the preferred debugger connection transport:
#debug.transport=dt_socket
debug.classpath=\
${run.classpath}
debug.test.classpath=\
${run.test.classpath}
# This directory is removed when the project is cleaned:
dist.dir=dist
dist.jar=${dist.dir}/JavaFxPaneExample_dist.jar
dist.javadoc.dir=${dist.dir}/javadoc
endorsed.classpath=
excludes=
includes=**
# Non-JavaFX jar file creation is deactivated in JavaFX 2.0+ projects
jar.archive.disabled=true
jar.compress=false
javac.classpath=\
${javafx.classpath.extension}
# Space-separated list of extra javac options
javac.compilerargs=
javac.deprecation=false
javac.processorpath=\
${javac.classpath}
javac.source=1.8
javac.target=1.8
javac.test.classpath=\
${javac.classpath}:\
${build.classes.dir}
javac.test.processorpath=\
${javac.test.classpath}
javadoc.additionalparam=
javadoc.author=false
javadoc.encoding=${source.encoding}
javadoc.noindex=false
javadoc.nonavbar=false
javadoc.notree=false
javadoc.private=false
javadoc.splitindex=true
javadoc.use=true
javadoc.version=false
javadoc.windowtitle=
javafx.application.implementation.version=1.0
javafx.binarycss=false
javafx.classpath.extension=\
${java.home}/lib/javaws.jar:\
${java.home}/lib/deploy.jar:\
${java.home}/lib/plugin.jar
javafx.deploy.allowoffline=true
# If true, application update mode is set to 'background', if false, update mode is set to 'eager'
javafx.deploy.backgroundupdate=false
javafx.deploy.embedJNLP=true
javafx.deploy.includeDT=true
# \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 'true' \u0434\u043b\u044f \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u043a\u043e\u043f\u0438\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u043e\u0432 \u0434\u043e \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430 (\u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0438)
javafx.disable.concurrent.runs=false
# \u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 'true' \u0434\u043b\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0445 \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u0432 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 Run-in-Browser \u0438\u043b\u0438 WebStart
javafx.enable.concurrent.external.runs=false
# This is a JavaFX project
javafx.enabled=true
javafx.fallback.class=com.javafx.main.NoJavaFXFallback
# Main class for JavaFX
javafx.main.class=javafxpaneexample_dist.JavaFxPaneExample_dist
javafx.preloader.class=
# This project does not use Preloader
javafx.preloader.enabled=false
javafx.preloader.jar.filename=
javafx.preloader.jar.path=
javafx.preloader.project.path=
javafx.preloader.type=none
# Set true for GlassFish only. Rebases manifest classpaths of JARs in lib dir. Not usable with signed JARs.
javafx.rebase.libs=false
javafx.run.height=600
javafx.run.width=800
# Pre-JavaFX 2.0 WebStart is deactivated in JavaFX 2.0+ projects
jnlp.enabled=false
# Main class for Java launcher
main.class=com.javafx.main.Main
# \u0414\u043b\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u043d\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0442\u043e\u0447\u043d\u0435\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442\u0430 Codebase \u0434\u043b\u044f \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f RIA
manifest.custom.codebase=*
# \u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442\u0430 Permissions \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e (\u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b: sandbox, all-permissions)
manifest.custom.permissions=
manifest.file=manifest.mf
meta.inf.dir=${src.dir}/META-INF
platform.active=default_platform
run.classpath=\
${dist.jar}:\
${javac.classpath}:\
${build.classes.dir}
run.test.classpath=\
${javac.test.classpath}:\
${build.test.classes.dir}
source.encoding=UTF-8
src.dir=src
test.src.dir=test

25
java/samples/fx/JavaFxPaneExample_dist/nbproject/project.xml vendored

@ -0,0 +1,25 @@ @@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.java.j2seproject</type>
<configuration>
<buildExtensions xmlns="http://www.netbeans.org/ns/ant-build-extender/1">
<extension file="jfx-impl.xml" id="jfx3">
<dependency dependsOn="-jfx-copylibs" target="-post-jar"/>
<dependency dependsOn="-rebase-libs" target="-post-jar"/>
<dependency dependsOn="jfx-deployment" target="-post-jar"/>
<dependency dependsOn="jar" target="debug"/>
<dependency dependsOn="jar" target="profile"/>
<dependency dependsOn="jar" target="run"/>
</extension>
</buildExtensions>
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
<name>JavaFxPaneExample_dist</name>
<source-roots>
<root id="src.dir"/>
</source-roots>
<test-roots>
<root id="test.src.dir"/>
</test-roots>
</data>
</configuration>
</project>

53
java/samples/fx/JavaFxPaneExample_dist/src/javafxpaneexample_dist/AnchorPaneExample.java vendored

@ -0,0 +1,53 @@ @@ -0,0 +1,53 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxpaneexample_dist;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.GridPane;
import javafx.stage.Stage;
/**
*
* @author denis
*/
public class AnchorPaneExample extends Stage{
public void init(){
Button btn = new Button("Button 1 Button");
Button btn2 = new Button("Button 2");
Button btn3 = new Button("Button 3");
Button btn4 = new Button("Button 4");
Button btn5 = new Button("Button 5");
Button btn6 = new Button("Button 6");
Button btn7 = new Button("Button 7");
AnchorPane root = new AnchorPane();
AnchorPane.setTopAnchor(btn, 10.0);
AnchorPane.setLeftAnchor(btn, 50.0);
AnchorPane.setRightAnchor(btn, 50.0);
AnchorPane.setTopAnchor(btn3, 50.0);
AnchorPane.setLeftAnchor(btn3, 10.0);
AnchorPane.setBottomAnchor(btn3, 50.0);
AnchorPane.setTopAnchor(btn4, 50.0);
AnchorPane.setRightAnchor(btn4, 10.0);
AnchorPane.setBottomAnchor(btn4, 50.0);
AnchorPane.setBottomAnchor(btn2, 10.0);
AnchorPane.setLeftAnchor(btn2, 50.0);
AnchorPane.setRightAnchor(btn2, 50.0);
root.getChildren().addAll(btn, btn2, btn3, btn4);
Scene scene = new Scene(root, 300, 250);
setTitle("AnchorPane");
setScene(scene);
show();
}
}

44
java/samples/fx/JavaFxPaneExample_dist/src/javafxpaneexample_dist/FlowPaneExample.java vendored

@ -0,0 +1,44 @@ @@ -0,0 +1,44 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxpaneexample_dist;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.geometry.Orientation;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.FlowPane;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;
/**
*
* @author denis
*/
public class FlowPaneExample extends Stage{
public void init(){
Button btn = new Button("Button 1");
Button btn2 = new Button("Button 2");
Button btn3 = new Button("Button 3");
Button btn4 = new Button("Button 4");
Button btn5 = new Button("Button 5");
Button btn6 = new Button("Button 6");
Button btn7 = new Button("Button 7");
FlowPane root = new FlowPane();
root.setOrientation(Orientation.VERTICAL);
root.setAlignment(Pos.CENTER);
root.getChildren().addAll(btn, btn2, btn3, btn4, btn5, btn6, btn7);
Scene scene = new Scene(root, 300, 250);
setTitle("FlowPane");
setScene(scene);
show();
}
}

47
java/samples/fx/JavaFxPaneExample_dist/src/javafxpaneexample_dist/GridPaneExample.java vendored

@ -0,0 +1,47 @@ @@ -0,0 +1,47 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxpaneexample_dist;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.GridPane;
import javafx.scene.layout.HBox;
import javafx.stage.Stage;
/**
*
* @author denis
*/
public class GridPaneExample extends Stage{
public void init(){
Button btn = new Button("Button 1 Button");
Button btn2 = new Button("Button 2");
Button btn3 = new Button("Button 3");
Button btn4 = new Button("Button 4");
Button btn5 = new Button("Button 5");
Button btn6 = new Button("Button 6");
Button btn7 = new Button("Button 7");
GridPane root = new GridPane();
root.add(btn, 0, 0, 2, 1);
root.setHgap(10);
root.setVgap(10);
root.add(btn2, 1, 1);
root.add(btn3, 2, 1);
root.add(btn4, 2, 3);
root.add(btn5, 1, 4);
root.add(btn6, 1, 5);
root.add(btn7, 2, 5);
Scene scene = new Scene(root, 300, 250);
setTitle("GridPane");
setScene(scene);
show();
}
}

40
java/samples/fx/JavaFxPaneExample_dist/src/javafxpaneexample_dist/HBoxExample.java vendored

@ -0,0 +1,40 @@ @@ -0,0 +1,40 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxpaneexample_dist;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.FlowPane;
import javafx.scene.layout.HBox;
import javafx.stage.Stage;
/**
*
* @author denis
*/
public class HBoxExample {
private Stage stage;
public void init(){
stage = new Stage();
Button btn = new Button("Button 1");
Button btn2 = new Button("Button 2");
Button btn3 = new Button("Button 3");
Button btn4 = new Button("Button 4");
Button btn5 = new Button("Button 5");
Button btn6 = new Button("Button 6");
Button btn7 = new Button("Button 7");
HBox root = new HBox();
root.getChildren().addAll(btn, btn2, btn3, btn4, btn5, btn6, btn7);
Scene scene = new Scene(root, 300, 250);
stage.setTitle("HBox");
stage.setScene(scene);
stage.show();
}
}

70
java/samples/fx/JavaFxPaneExample_dist/src/javafxpaneexample_dist/JavaFxPaneExample_dist.java vendored

@ -0,0 +1,70 @@ @@ -0,0 +1,70 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxpaneexample_dist;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.geometry.Pos;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.StackPane;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
/**
*
* @author denis
*/
public class JavaFxPaneExample_dist extends Application {
@Override
public void start(Stage primaryStage) {
Button btn = new Button("FlowPane");
btn.setOnAction(e -> {
new FlowPaneExample().init();
});
Button btn2 = new Button("HBoxExample");
btn2.setOnAction(e -> {
new HBoxExample().init();
});
Button btn3 = new Button("GridPaneExample");
btn3.setOnAction(e -> {
new GridPaneExample().init();
});
Button btn4 = new Button("AnchorPaneExample");
btn4.setOnAction(e -> {
new AnchorPaneExample().init();
});
Button btn5 = new Button("TilePaneExample");
btn5.setOnAction(e -> {
new TilePaneExample().init();
});
VBox root = new VBox();
root.setAlignment(Pos.CENTER);
root.getChildren().addAll(btn, btn2, btn3, btn4, btn5);
Scene scene = new Scene(root, 300, 250);
primaryStage.setTitle("Hello World!");
primaryStage.setScene(scene);
primaryStage.show();
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
launch(args);
}
}

42
java/samples/fx/JavaFxPaneExample_dist/src/javafxpaneexample_dist/TilePaneExample.java vendored

@ -0,0 +1,42 @@ @@ -0,0 +1,42 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javafxpaneexample_dist;
import javafx.geometry.Orientation;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.TilePane;
import javafx.stage.Stage;
/**
*
* @author denis
*/
public class TilePaneExample extends Stage{
public void init(){
Button btn = new Button("Button 1 Button");
Button btn2 = new Button("Button 2");
Button btn3 = new Button("Button 3");
Button btn4 = new Button("Button 4");
Button btn5 = new Button("Button 5");
Button btn6 = new Button("Button 6 Button Button");
Button btn7 = new Button("Button 7");
Button btn8 = new Button("Button 8");
TilePane root = new TilePane();
root.setOrientation(Orientation.HORIZONTAL);
root.setAlignment(Pos.CENTER);
root.getChildren().addAll(btn, btn2, btn3, btn4, btn5, btn6, btn7, btn8);
Scene scene = new Scene(root, 300, 250);
setTitle("TilePane");
setScene(scene);
show();
}
}

53
java/samples/fx/PropetiesFx/build.xml

@ -0,0 +1,53 @@ @@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?><!-- You may freely edit this file. See commented blocks below for --><!-- some examples of how to customize the build. --><!-- (If you delete it and reopen the project it will be recreated.) --><!-- By default, only the Clean and Build commands use this build script. --><project name="PropetiesFx" default="default" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
<description>Builds, tests, and runs the project PropetiesFx.</description>
<import file="nbproject/build-impl.xml"/>
<!--
There exist several targets which are by default empty and which can be
used for execution of your tasks. These targets are usually executed
before and after some main targets. Those of them relevant for JavaFX project are:
-pre-init: called before initialization of project properties
-post-init: called after initialization of project properties
-pre-compile: called before javac compilation
-post-compile: called after javac compilation
-pre-compile-test: called before javac compilation of JUnit tests
-post-compile-test: called after javac compilation of JUnit tests
-pre-jfx-jar: called before FX SDK specific <fx:jar> task
-post-jfx-jar: called after FX SDK specific <fx:jar> task
-pre-jfx-deploy: called before FX SDK specific <fx:deploy> task
-post-jfx-deploy: called after FX SDK specific <fx:deploy> task
-pre-jfx-native: called just after -pre-jfx-deploy if <fx:deploy> runs in native packaging mode
-post-jfx-native: called just after -post-jfx-deploy if <fx:deploy> runs in native packaging mode
-post-clean: called after cleaning build products
(Targets beginning with '-' are not intended to be called on their own.)
Example of inserting a HTML postprocessor after javaFX SDK deployment:
<target name="-post-jfx-deploy">
<basename property="jfx.deployment.base" file="${jfx.deployment.jar}" suffix=".jar"/>
<property name="jfx.deployment.html" location="${jfx.deployment.dir}${file.separator}${jfx.deployment.base}.html"/>
<custompostprocess>
<fileset dir="${jfx.deployment.html}"/>
</custompostprocess>
</target>
Example of calling an Ant task from JavaFX SDK. Note that access to JavaFX SDK Ant tasks must be
initialized; to ensure this is done add the dependence on -check-jfx-sdk-version target:
<target name="-post-jfx-jar" depends="-check-jfx-sdk-version">
<echo message="Calling jar task from JavaFX SDK"/>
<fx:jar ...>
...
</fx:jar>
</target>
For more details about JavaFX SDK Ant tasks go to
http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm
For list of available properties check the files
nbproject/build-impl.xml and nbproject/jfx-impl.xml.
-->
</project>

4
java/samples/fx/PropetiesFx/build/built-jar.properties

@ -0,0 +1,4 @@ @@ -0,0 +1,4 @@
#Fri, 10 Feb 2023 21:22:19 +0300
C\:\\Users\\denis.LAPTOP-4LI8UQ4O\\OneDrive\\\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b\\NetBeansProjects\\PropetiesFx=

BIN
java/samples/fx/PropetiesFx/build/classes/propetiesfx/PropetiesFx.class

Binary file not shown.

45
java/samples/fx/PropetiesFx/dist/PropetiesFx.html vendored

@ -0,0 +1,45 @@ @@ -0,0 +1,45 @@
<html><head>
<SCRIPT src="./web-files/dtjava.js"></SCRIPT>
<script>
function launchApplication(jnlpfile) {
dtjava.launch( {
url : 'PropetiesFx.jnlp',
jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxqbmxwIHNwZWM9IjEuMCIgeG1sbnM6amZ4PSJodHRwOi8vamF2YWZ4LmNvbSIgaHJlZj0iUHJvcGV0aWVzRnguam5scCI+DQogIDxpbmZvcm1hdGlvbj4NCiAgICA8dGl0bGU+UHJvcGV0aWVzRng8L3RpdGxlPg0KICAgIDx2ZW5kb3I+ZGVuaXM8L3ZlbmRvcj4NCiAgICA8ZGVzY3JpcHRpb24+bnVsbDwvZGVzY3JpcHRpb24+DQogICAgPG9mZmxpbmUtYWxsb3dlZC8+DQogIDwvaW5mb3JtYXRpb24+DQogIDxyZXNvdXJjZXM+DQogICAgPGoyc2UgdmVyc2lvbj0iMS42KyIgaHJlZj0iaHR0cDovL2phdmEuc3VuLmNvbS9wcm9kdWN0cy9hdXRvZGwvajJzZSIvPg0KICAgIDxqYXIgaHJlZj0iUHJvcGV0aWVzRnguamFyIiBzaXplPSIzNjIxIiBkb3dubG9hZD0iZWFnZXIiIC8+DQogIDwvcmVzb3VyY2VzPg0KICA8YXBwbGV0LWRlc2MgIHdpZHRoPSI4MDAiIGhlaWdodD0iNjAwIiBtYWluLWNsYXNzPSJjb20uamF2YWZ4Lm1haW4uTm9KYXZhRlhGYWxsYmFjayIgIG5hbWU9IlByb3BldGllc0Z4IiA+DQogICAgPHBhcmFtIG5hbWU9InJlcXVpcmVkRlhWZXJzaW9uIiB2YWx1ZT0iOC4wKyIvPg0KICA8L2FwcGxldC1kZXNjPg0KICA8amZ4OmphdmFmeC1kZXNjICB3aWR0aD0iODAwIiBoZWlnaHQ9IjYwMCIgbWFpbi1jbGFzcz0icHJvcGV0aWVzZnguUHJvcGV0aWVzRngiICBuYW1lPSJQcm9wZXRpZXNGeCIgLz4NCiAgPHVwZGF0ZSBjaGVjaz0iYWx3YXlzIi8+DQo8L2pubHA+DQo='
},
{
javafx : '8.0+'
},
{}
);
return false;
}
</script>
<script>
function javafxEmbedpropetiesfx() {
dtjava.embed(
{
id : 'propetiesfx',
url : 'PropetiesFx.jnlp',
placeholder : 'javafx-app-placeholder',
width : '800',
height : '600',
jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxqbmxwIHNwZWM9IjEuMCIgeG1sbnM6amZ4PSJodHRwOi8vamF2YWZ4LmNvbSIgaHJlZj0iUHJvcGV0aWVzRnguam5scCI+DQogIDxpbmZvcm1hdGlvbj4NCiAgICA8dGl0bGU+UHJvcGV0aWVzRng8L3RpdGxlPg0KICAgIDx2ZW5kb3I+ZGVuaXM8L3ZlbmRvcj4NCiAgICA8ZGVzY3JpcHRpb24+bnVsbDwvZGVzY3JpcHRpb24+DQogICAgPG9mZmxpbmUtYWxsb3dlZC8+DQogIDwvaW5mb3JtYXRpb24+DQogIDxyZXNvdXJjZXM+DQogICAgPGoyc2UgdmVyc2lvbj0iMS42KyIgaHJlZj0iaHR0cDovL2phdmEuc3VuLmNvbS9wcm9kdWN0cy9hdXRvZGwvajJzZSIvPg0KICAgIDxqYXIgaHJlZj0iUHJvcGV0aWVzRnguamFyIiBzaXplPSIzNjIxIiBkb3dubG9hZD0iZWFnZXIiIC8+DQogIDwvcmVzb3VyY2VzPg0KICA8YXBwbGV0LWRlc2MgIHdpZHRoPSI4MDAiIGhlaWdodD0iNjAwIiBtYWluLWNsYXNzPSJjb20uamF2YWZ4Lm1haW4uTm9KYXZhRlhGYWxsYmFjayIgIG5hbWU9IlByb3BldGllc0Z4IiA+DQogICAgPHBhcmFtIG5hbWU9InJlcXVpcmVkRlhWZXJzaW9uIiB2YWx1ZT0iOC4wKyIvPg0KICA8L2FwcGxldC1kZXNjPg0KICA8amZ4OmphdmFmeC1kZXNjICB3aWR0aD0iODAwIiBoZWlnaHQ9IjYwMCIgbWFpbi1jbGFzcz0icHJvcGV0aWVzZnguUHJvcGV0aWVzRngiICBuYW1lPSJQcm9wZXRpZXNGeCIgLz4NCiAgPHVwZGF0ZSBjaGVjaz0iYWx3YXlzIi8+DQo8L2pubHA+DQo='
},
{
javafx : '8.0+'
},
{}
);
}
<!-- Embed FX application into web page once page is loaded -->
dtjava.addOnloadCallback(javafxEmbedpropetiesfx);
</script>
</head><body>
<h2>Test page for <b>PropetiesFx</b></h2>
<b>Webstart:</b> <a href='PropetiesFx.jnlp' onclick="return launchApplication('PropetiesFx.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>

BIN
java/samples/fx/PropetiesFx/dist/PropetiesFx.jar vendored

Binary file not shown.

18
java/samples/fx/PropetiesFx/dist/PropetiesFx.jnlp vendored

@ -0,0 +1,18 @@ @@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="PropetiesFx.jnlp">
<information>
<title>PropetiesFx</title>
<vendor>denis</vendor>
<description>null</description>
<offline-allowed/>
</information>
<resources>
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
<jar href="PropetiesFx.jar" size="3621" download="eager" />
</resources>
<applet-desc width="800" height="600" main-class="com.javafx.main.NoJavaFXFallback" name="PropetiesFx" >
<param name="requiredFXVersion" value="8.0+"/>
</applet-desc>
<jfx:javafx-desc width="800" height="600" main-class="propetiesfx.PropetiesFx" name="PropetiesFx" />
<update check="always"/>
</jnlp>

3958
java/samples/fx/PropetiesFx/dist/web-files/dtjava.js vendored

File diff suppressed because it is too large Load Diff

BIN
java/samples/fx/PropetiesFx/dist/web-files/error.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 725 B

BIN
java/samples/fx/PropetiesFx/dist/web-files/get_java.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

BIN
java/samples/fx/PropetiesFx/dist/web-files/get_javafx.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
java/samples/fx/PropetiesFx/dist/web-files/javafx-chrome.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save