Initial commit

This commit is contained in:
Marcel Schwarz 2019-08-09 05:22:38 +02:00
commit 1c7166454a
187 changed files with 11157 additions and 0 deletions

2
.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto

BIN
JavaFX Ensemble.jar Normal file

Binary file not shown.

3
Readme.md Normal file
View File

@ -0,0 +1,3 @@
##How to run the Samples
java -cp MyJar.jar com.mycomp.myproj.dir2.MainClass2

53
build.xml Normal file
View File

@ -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="java-fx-8-samples" default="default" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
<description>Builds, tests, and runs the project java-fx-8-samples.</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>

View File

@ -0,0 +1,4 @@
#Fri, 09 Aug 2019 05:16:48 +0200
C\:\\Users\\mschw\\Desktop\\CODE\\java-fx-8-samples=

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.shape.*?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="400.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="animatedball1.layoutController">
<bottom>
<HBox alignment="CENTER" prefHeight="48.0" prefWidth="600.0" BorderPane.alignment="CENTER">
<children>
<Button fx:id="btnButton" mnemonicParsing="false" onAction="#handleButton" text="Button" />
</children>
</HBox>
</bottom>
<center>
<Pane fx:id="canvas" prefHeight="337.0" prefWidth="600.0" BorderPane.alignment="CENTER">
<children>
<Circle fx:id="circle" fill="#3cd063" layoutX="-50.0" radius="50.0" stroke="BLACK" strokeType="INSIDE" strokeWidth="5.0" />
</children>
</Pane>
</center>
</BorderPane>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.shape.*?>
<?import javafx.scene.chart.*?>
<?import javafx.scene.effect.*?>
<?import javafx.geometry.*?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<BorderPane prefHeight="200.0" prefWidth="239.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="changescene1.FXMLDocumentController">
<center>
<Pane fx:id="pane" prefHeight="142.0" prefWidth="200.0" BorderPane.alignment="CENTER">
<children>
<CheckBox fx:id="box1" layoutX="14.0" layoutY="14.0" mnemonicParsing="false" text="CheckBox" />
<CheckBox layoutX="14.0" layoutY="31.0" mnemonicParsing="false" text="CheckBox" />
<CheckBox layoutX="14.0" layoutY="48.0" mnemonicParsing="false" text="CheckBox" />
<CheckBox layoutX="113.0" layoutY="14.0" mnemonicParsing="false" text="CheckBox" />
<CheckBox layoutX="113.0" layoutY="48.0" mnemonicParsing="false" text="CheckBox" />
<CheckBox layoutX="113.0" layoutY="31.0" mnemonicParsing="false" text="CheckBox" />
<TextField fx:id="textC" alignment="CENTER" editable="false" layoutX="26.0" layoutY="73.0" text="Hello World" />
</children>
</Pane>
</center>
<bottom>
<HBox prefHeight="29.0" prefWidth="200.0" BorderPane.alignment="CENTER">
<children>
<Button fx:id="button1" mnemonicParsing="false" onAction="#activate" prefHeight="25.0" prefWidth="59.0" text="Activate" />
<Button fx:id="button2" mnemonicParsing="false" onAction="#deactivate" prefHeight="25.0" prefWidth="72.0" text="Deactivate" />
<Button fx:id="btnChangeScene" mnemonicParsing="false" onAction="#handleChangeScene" text="Change Scene" />
</children>
<BorderPane.margin>
<Insets left="10.0" />
</BorderPane.margin>
</HBox>
</bottom>
</BorderPane>

Binary file not shown.

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="322.0" prefWidth="432.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="changescene1.Scene2Controller">
<children>
<Button fx:id="btnEinlesenPic" layoutX="250.0" layoutY="47.0" mnemonicParsing="false" onAction="#handleEinlesenPic" prefHeight="25.0" prefWidth="119.0" text="choose jpg-File" />
<Label layoutX="182.0" layoutY="14.0" text="Connect Files" />
<Button fx:id="btnEinlesenDat" layoutX="250.0" layoutY="80.0" mnemonicParsing="false" onAction="#handleEinlesenDat" prefHeight="25.0" prefWidth="119.0" text="choose zip-File" />
<TextField fx:id="txtPicEinlesen" editable="false" layoutX="63.0" layoutY="47.0" prefHeight="25.0" prefWidth="175.0" />
<TextField fx:id="txtDateiEinlesen" editable="false" layoutX="63.0" layoutY="80.0" prefHeight="25.0" prefWidth="175.0" />
<TextField fx:id="txtEndname" layoutX="63.0" layoutY="121.0" prefHeight="25.0" prefWidth="175.0" />
<Label fx:id="lblFehler" alignment="CENTER" layoutX="63.0" layoutY="291.0" prefHeight="17.0" prefWidth="308.0" />
<Button fx:id="btnStart" layoutX="157.0" layoutY="166.0" mnemonicParsing="false" onAction="#handleStart" prefHeight="25.0" prefWidth="119.0" text="Create" />
<TextField fx:id="txtSavedAt" editable="false" layoutX="118.0" layoutY="212.0" prefHeight="25.0" prefWidth="242.0" />
<Label layoutX="60.0" layoutY="216.0" text="Saved at:" />
<Button fx:id="saveAs" layoutX="250.0" layoutY="121.0" mnemonicParsing="false" onAction="#handleSaveAs" prefHeight="25.0" prefWidth="119.0" text="Save at" />
</children>
</Pane>

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<AnchorPane id="AnchorPane" prefHeight="200" prefWidth="320" xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/8" fx:controller="changescene2.layout1Controller">
<children>
<Button fx:id="button" layoutX="126" layoutY="90" onAction="#handleButtonAction" onMouseEntered="#handleEnter" text="Click Me!" />
<Label fx:id="label" layoutX="126" layoutY="120" minHeight="16" minWidth="69" />
</children>
</AnchorPane>

Binary file not shown.

View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.text.*?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<Pane prefHeight="131.0" prefWidth="201.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="changescene2.layout2Controller">
<children>
<Label layoutX="44.0" layoutY="43.0" text="It Works">
<font>
<Font size="31.0" />
</font>
</Label>
</children>
</Pane>

Binary file not shown.

View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.*?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<SplitPane dividerPositions="0.8894472361809045" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" orientation="VERTICAL" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="circlegenerator.FXMLDocumentController">
<items>
<Pane fx:id="zPane" prefHeight="200.0" prefWidth="200.0" />
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
<children>
<Button fx:id="createBTN" mnemonicParsing="false" onAction="#handleCreate" text="Create">
<HBox.margin>
<Insets />
</HBox.margin>
</Button>
<Button fx:id="clearBTN" mnemonicParsing="false" onAction="#handleClearBTN" text="Clear">
<HBox.margin>
<Insets left="10.0" />
</HBox.margin>
</Button>
<CheckBox fx:id="filledCB" mnemonicParsing="false" text="Filled">
<HBox.margin>
<Insets left="10.0" />
</HBox.margin>
</CheckBox>
</children>
</HBox>
</items>
</SplitPane>

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.shape.*?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<Pane fx:id="canvas" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" onMouseMoved="#handleRect1OnMouseMoved" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="collisiontest.FXMLDocumentController" />

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.image.*?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<Pane fx:id="canvas" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="easyscreenshotter.FXMLDocumentController">
<children>
<ImageView fx:id="ivPicture" fitHeight="300.0" fitWidth="400.0" layoutX="100.0" layoutY="50.0" pickOnBounds="true" preserveRatio="true" />
<Button fx:id="btnLoad" layoutX="279.0" layoutY="2.0" mnemonicParsing="false" onAction="#handleLoad" text="Load" />
<Button fx:id="btnSave" layoutX="321.0" layoutY="2.0" mnemonicParsing="false" onAction="#handleSave" text="Save" />
</children>
</Pane>

Binary file not shown.

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="450.0" prefWidth="320.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="grafischerwuerfel.FXMLDocumentController">
<bottom>
<HBox alignment="CENTER" prefHeight="30.0" prefWidth="320.0" BorderPane.alignment="CENTER">
<children>
<Button fx:id="btnWuerfeln" mnemonicParsing="false" onAction="#handleWuerfeln" text="Würfeln" />
</children>
</HBox>
</bottom>
<center>
<Pane fx:id="flaeche" prefHeight="400.0" prefWidth="320.0" BorderPane.alignment="CENTER" />
</center>
</BorderPane>

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.text.*?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="196.0" prefWidth="240.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ipv4generator.layoutController">
<children>
<Text layoutX="82.0" layoutY="34.0" strokeType="OUTSIDE" strokeWidth="0.0" text="IPv4 Generator" />
<TextField fx:id="txtUsername" layoutX="46.0" layoutY="49.0" onKeyTyped="#handleKeyTiped" />
<TextField fx:id="txtIP" layoutX="46.0" layoutY="120.0" />
<Label layoutX="98.0" layoutY="103.0" text="Deine IP" />
<Button fx:id="btnSend" layoutX="46.0" layoutY="78.0" mnemonicParsing="false" onAction="#handleSend" text="Send" />
<Button fx:id="btnCancel" layoutX="143.0" layoutY="78.0" mnemonicParsing="false" onAction="#handleCancel" text="Cancel" />
<Label fx:id="lblFehler" alignment="CENTER" contentDisplay="CENTER" layoutX="11.0" layoutY="165.0" prefHeight="17.0" prefWidth="220.0" />
</children>
</Pane>

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="listviewtest2.FXMLDocumentController">
<children>
<ListView fx:id="lvTest" editable="true" layoutX="100.0" layoutY="94.0" prefHeight="200.0" prefWidth="200.0" />
<Button layoutX="200.0" layoutY="328.0" mnemonicParsing="false" onAction="#handleSend" text="Send" />
<Button layoutX="41.0" layoutY="151.0" mnemonicParsing="false" onAction="#handleDelete" text="Delete">
<tooltip>
<Tooltip text="Empty Tooltip" />
</tooltip></Button>
<Button layoutX="26.0" layoutY="315.0" mnemonicParsing="false" onAction="#handleDeleteRand" text="Delete Rand" />
<TextField fx:id="tfToSend" layoutX="251.0" layoutY="328.0" />
<ListView fx:id="lvTest2" layoutX="311.0" layoutY="94.0" prefHeight="200.0" prefWidth="200.0" />
</children>
</Pane>

Binary file not shown.

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="320.0" prefWidth="390.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="moviedatabase.AddLayoutController">
<children>
<Button fx:id="btnAddItem" layoutX="191.0" layoutY="230.0" mnemonicParsing="false" onAction="#handleAddItem" text="Hinzufügen" />
<TextField fx:id="tfName" layoutX="121.0" layoutY="66.0" promptText="Name" />
<TextField fx:id="tfID" layoutX="121.0" layoutY="106.0" promptText="ID" />
<TextField fx:id="tfKost" layoutX="121.0" layoutY="150.0" promptText="Kosten pro" />
<TextField fx:id="tfOnStock" layoutX="120.0" layoutY="191.0" promptText="Auf lager" />
<Button fx:id="btnBack" layoutX="121.0" layoutY="230.0" mnemonicParsing="false" onAction="#handleBack" text="zurück" />
</children>
</Pane>

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="moviedatabase.LayoutController">
<children>
<ListView fx:id="lvItems" layoutX="14.0" layoutY="36.0" onKeyPressed="#handleKeyPressedItems" onKeyReleased="#handleKeyPressedItems" onKeyTyped="#handleKeyPressedItems" onMouseClicked="#handleMouseClickedItems" prefHeight="352.0" prefWidth="172.0" />
<Label layoutX="81.0" layoutY="14.0" text="Sachen" />
<Label fx:id="lblOnStock" layoutX="205.0" layoutY="36.0" text="Auf lager: " />
<Label fx:id="lblKost" layoutX="205.0" layoutY="69.0" text="Kosten pro: " />
<Label fx:id="lblID" layoutX="205.0" layoutY="103.0" text="ID: " />
<Button fx:id="btnNew" layoutX="326.0" layoutY="233.0" mnemonicParsing="false" onAction="#handleNew" text="Neue Sache eintragen" />
<Button layoutX="188.0" layoutY="363.0" mnemonicParsing="false" onAction="#handleDelete" text="Entfernen" />
<CheckBox fx:id="cbRand" layoutX="465.0" layoutY="237.0" mnemonicParsing="false" text="Zufällige Sache" />
</children>
</Pane>

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<AnchorPane id="AnchorPane" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="multiplewindows.FXML1Controller">
<children>
<Label fx:id="lblTest" layoutX="260.0" layoutY="200.0" text="Das ist ein Test" />
<Button fx:id="btnButton" layoutX="200.0" layoutY="137.0" mnemonicParsing="false" onAction="#handleButton" text="Drücken" />
<Button fx:id="btnNew" layoutX="340.0" layoutY="137.0" mnemonicParsing="false" onAction="#handleNew" text="New" />
</children>
</AnchorPane>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.*?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" onKeyPressed="#handleKey" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="mycookieclicker.FXMLDocumentController">
<center>
<Pane prefHeight="200.0" prefWidth="200.0" BorderPane.alignment="CENTER">
<children>
<Button fx:id="btnClick" layoutX="101.0" layoutY="172.0" mnemonicParsing="false" onAction="#handleClick" prefHeight="57.0" prefWidth="98.0" text="Click Me" />
</children>
</Pane>
</center>
<left>
<VBox alignment="CENTER" prefHeight="400.0" prefWidth="150.0" BorderPane.alignment="CENTER">
<children>
<Separator prefWidth="200.0" />
<Button fx:id="btnBuyGrandma" mnemonicParsing="false" onAction="#handleBuyGrandma" text="Buy Grandma">
<VBox.margin>
<Insets />
</VBox.margin>
</Button>
<Label text="+0,3" />
<Separator prefWidth="200.0" />
<Button fx:id="btnBuyAutoclick" mnemonicParsing="false" onAction="#handleBuyAutoclick" text="Buy Autoclicker" />
<Label text="+1" />
<Separator prefWidth="200.0" />
</children>
</VBox>
</left>
<right>
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="150.0" BorderPane.alignment="CENTER">
<children>
<Separator prefWidth="200.0" />
<Label text="Kontostand:" />
<Label fx:id="lblKontostand" text="0" />
<Separator prefWidth="200.0" />
<Label text="Earn per Sec:" />
<Label fx:id="lblEarn" text="0" />
<Separator prefWidth="200.0" />
</children>
</VBox>
</right>
</BorderPane>

Binary file not shown.

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.paint.*?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="progressbars.FXMLDocumentController">
<children>
<ProgressBar fx:id="pbBar" layoutX="174.0" layoutY="96.0" prefWidth="200.0" progress="0.0" />
<ProgressIndicator fx:id="piProgressIndicator" layoutX="244.0" layoutY="137.0" prefHeight="60.0" prefWidth="60.0" progress="0.0" />
<Label fx:id="lblBar" layoutX="399.0" layoutY="97.0" text="Label" />
<Label fx:id="lblProgIndicator" layoutX="327.0" layoutY="159.0" text="Label" />
<Button fx:id="btnStart" layoutX="254.0" layoutY="279.0" mnemonicParsing="false" onAction="#handleStart" text="Start" />
<ProgressBar layoutX="174.0" layoutY="78.0" prefWidth="200.0" />
<ProgressIndicator layoutX="248.0" layoutY="200.0" />
</children>
</Pane>

Binary file not shown.

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="randomwordgenfinder.LayoutController">
<children>
<TextArea fx:id="taOutput" layoutX="19.0" layoutY="78.0" prefHeight="200.0" prefWidth="562.0" wrapText="true" />
<TextField fx:id="tfToSearch" layoutX="19.0" layoutY="37.0" promptText="To Search" />
<Label fx:id="lblResult" layoutX="19.0" layoutY="307.0" prefHeight="17.0" prefWidth="562.0" text="Versuchte Buchstaben: 0" />
<Button fx:id="btnStart" layoutX="19.0" layoutY="343.0" mnemonicParsing="false" onAction="#handleStart" text="Start" />
<Button fx:id="btnStop" layoutX="60.0" layoutY="343.0" mnemonicParsing="false" onAction="#handleStop" text="Stop" />
</children>
</Pane>

Binary file not shown.

View File

@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.*?>
<?import javafx.scene.text.*?>
<?import javafx.scene.control.*?>
<?import java.lang.*?>
<?import javafx.scene.layout.*?>
<GridPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="330.0" prefWidth="221.0" scaleShape="false" style="-fx-background-color: lightblue; -fx-vgap: 3; -fx-hgap: 3;" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="taschenrechnerkomma.FXMLDocumentController">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Button fx:id="eins" mnemonicParsing="false" onAction="#handleEins" prefHeight="50.0" prefWidth="50.0" text="1" GridPane.rowIndex="3" />
<Button fx:id="zwei" mnemonicParsing="false" onAction="#handleZwei" prefHeight="50.0" prefWidth="50.0" text="2" GridPane.columnIndex="1" GridPane.rowIndex="3" />
<Button fx:id="drei" mnemonicParsing="false" onAction="#handleDrei" prefHeight="50.0" prefWidth="50.0" text="3" GridPane.columnIndex="2" GridPane.rowIndex="3" />
<Button fx:id="vier" mnemonicParsing="false" onAction="#handleVier" prefHeight="50.0" prefWidth="50.0" text="4" GridPane.rowIndex="2" />
<Button fx:id="fuenf" mnemonicParsing="false" onAction="#handleFuenf" prefHeight="50.0" prefWidth="50.0" text="5" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<Button fx:id="sechs" mnemonicParsing="false" onAction="#handlesSechs" prefHeight="50.0" prefWidth="50.0" text="6" GridPane.columnIndex="2" GridPane.rowIndex="2" />
<Button fx:id="sieben" mnemonicParsing="false" onAction="#handleSieben" prefHeight="50.0" prefWidth="50.0" text="7" GridPane.rowIndex="1" />
<Button fx:id="acht" mnemonicParsing="false" onAction="#handleAcht" prefHeight="50.0" prefWidth="50.0" text="8" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<Button fx:id="neun" mnemonicParsing="false" onAction="#handleNeun" prefHeight="50.0" prefWidth="50.0" text="9" GridPane.columnIndex="2" GridPane.rowIndex="1" />
<Button fx:id="zero" mnemonicParsing="false" onAction="#handleZero" prefHeight="50.0" prefWidth="50.0" text="0" GridPane.rowIndex="4" />
<Button fx:id="plus" mnemonicParsing="false" onAction="#handlePlus" prefHeight="50.0" prefWidth="50.0" text="+" GridPane.columnIndex="3" GridPane.rowIndex="3" />
<Button fx:id="minus" mnemonicParsing="false" onAction="#handleMinus" prefHeight="50.0" prefWidth="50.0" text="-" GridPane.columnIndex="3" GridPane.rowIndex="2" />
<Button fx:id="gleich" mnemonicParsing="false" onAction="#handleGleich" prefHeight="50.0" prefWidth="50.0" text="=" GridPane.columnIndex="3" GridPane.rowIndex="4" />
<Button fx:id="mal" mnemonicParsing="false" onAction="#handleMal" prefHeight="50.0" prefWidth="50.0" text="*" GridPane.columnIndex="2" GridPane.rowIndex="4" />
<Button fx:id="geteilt" mnemonicParsing="false" onAction="#handleGeteilt" prefHeight="50.0" prefWidth="50.0" text="/" GridPane.columnIndex="1" GridPane.rowIndex="4" />
<Button fx:id="clear" mnemonicParsing="false" onAction="#handleClear" prefHeight="50.0" prefWidth="50.0" text="C" GridPane.columnIndex="3" GridPane.rowIndex="1" />
<Label fx:id="display" prefHeight="104.0" prefWidth="291.0" style="-fx-background-color: lightblue;" GridPane.columnSpan="5">
<font>
<Font size="27.0" />
</font>
</Label>
<Button fx:id="komma" mnemonicParsing="false" onAction="#handleKomma" prefHeight="50.0" prefWidth="50.0" text="," GridPane.columnIndex="2" GridPane.rowIndex="5" />
<Button fx:id="vorzeichen" mnemonicParsing="false" onAction="#handleVorzeichen" prefHeight="50.0" prefWidth="50.0" text="+/-" GridPane.columnIndex="1" GridPane.rowIndex="5" />
</children>
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</GridPane>

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.shape.*?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<AnchorPane xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="trackcoursor.layoutController">
<children>
<Pane fx:id="canvas" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" onMouseClicked="#handleMouseClicked" onMouseMoved="#handleMouseMove" onScroll="#handleMouseScroll" prefHeight="400.0" prefWidth="600.0">
<children>
<Label fx:id="lblAddCount" layoutX="14.0" layoutY="14.0" text="1" />
</children></Pane>
</children>
</AnchorPane>

Binary file not shown.

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<BorderPane xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="unicodeemojitest.FXMLDocumentController">
<center>
<Label fx:id="label" minHeight="16" minWidth="69" BorderPane.alignment="CENTER" />
</center>
<top>
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" BorderPane.alignment="CENTER">
<children>
<Button fx:id="button" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" onAction="#handleButtonAction" text="Click Me!">
<graphic>
<ChoiceBox fx:id="cbSmlieys" prefWidth="150.0" />
</graphic>
</Button>
</children>
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
</GridPane>
</top>
</BorderPane>

Binary file not shown.

Binary file not shown.

Binary file not shown.

45
dist/java-fx-8-samples.html vendored Normal file
View File

@ -0,0 +1,45 @@
<html><head>
<SCRIPT src="http://java.com/js/dtjava.js"></SCRIPT>
<script>
function launchApplication(jnlpfile) {
dtjava.launch( {
url : 'java-fx-8-samples.jnlp',
jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxqbmxwIHNwZWM9IjEuMCIgeG1sbnM6amZ4PSJodHRwOi8vamF2YWZ4LmNvbSIgaHJlZj0iamF2YS1meC04LXNhbXBsZXMuam5scCI+DQogIDxpbmZvcm1hdGlvbj4NCiAgICA8dGl0bGU+amF2YS1meC04LXNhbXBsZXM8L3RpdGxlPg0KICAgIDx2ZW5kb3I+bXNjaHc8L3ZlbmRvcj4NCiAgICA8ZGVzY3JpcHRpb24+bnVsbDwvZGVzY3JpcHRpb24+DQogICAgPG9mZmxpbmUtYWxsb3dlZC8+DQogIDwvaW5mb3JtYXRpb24+DQogIDxyZXNvdXJjZXM+DQogICAgPGoyc2UgdmVyc2lvbj0iMS42KyIgaHJlZj0iaHR0cDovL2phdmEuc3VuLmNvbS9wcm9kdWN0cy9hdXRvZGwvajJzZSIvPg0KICAgIDxqYXIgaHJlZj0iamF2YS1meC04LXNhbXBsZXMuamFyIiBzaXplPSIxOTk1MTUiIGRvd25sb2FkPSJlYWdlciIgLz4NCiAgPC9yZXNvdXJjZXM+DQogIDxqZng6amF2YWZ4LWRlc2MgIHdpZHRoPSI4MDAiIGhlaWdodD0iNjAwIiBtYWluLWNsYXNzPSJ1dGlscy5SdW5uZXIiICBuYW1lPSJqYXZhLWZ4LTgtc2FtcGxlcyIgLz4NCiAgPHVwZGF0ZSBjaGVjaz0iYWx3YXlzIi8+DQo8L2pubHA+DQo='
},
{
javafx : '8.0+'
},
{}
);
return false;
}
</script>
<script>
function javafxEmbedutils() {
dtjava.embed(
{
id : 'utils',
url : 'java-fx-8-samples.jnlp',
placeholder : 'javafx-app-placeholder',
width : '800',
height : '600',
jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxqbmxwIHNwZWM9IjEuMCIgeG1sbnM6amZ4PSJodHRwOi8vamF2YWZ4LmNvbSIgaHJlZj0iamF2YS1meC04LXNhbXBsZXMuam5scCI+DQogIDxpbmZvcm1hdGlvbj4NCiAgICA8dGl0bGU+amF2YS1meC04LXNhbXBsZXM8L3RpdGxlPg0KICAgIDx2ZW5kb3I+bXNjaHc8L3ZlbmRvcj4NCiAgICA8ZGVzY3JpcHRpb24+bnVsbDwvZGVzY3JpcHRpb24+DQogICAgPG9mZmxpbmUtYWxsb3dlZC8+DQogIDwvaW5mb3JtYXRpb24+DQogIDxyZXNvdXJjZXM+DQogICAgPGoyc2UgdmVyc2lvbj0iMS42KyIgaHJlZj0iaHR0cDovL2phdmEuc3VuLmNvbS9wcm9kdWN0cy9hdXRvZGwvajJzZSIvPg0KICAgIDxqYXIgaHJlZj0iamF2YS1meC04LXNhbXBsZXMuamFyIiBzaXplPSIxOTk1MTUiIGRvd25sb2FkPSJlYWdlciIgLz4NCiAgPC9yZXNvdXJjZXM+DQogIDxqZng6amF2YWZ4LWRlc2MgIHdpZHRoPSI4MDAiIGhlaWdodD0iNjAwIiBtYWluLWNsYXNzPSJ1dGlscy5SdW5uZXIiICBuYW1lPSJqYXZhLWZ4LTgtc2FtcGxlcyIgLz4NCiAgPHVwZGF0ZSBjaGVjaz0iYWx3YXlzIi8+DQo8L2pubHA+DQo='
},
{
javafx : '8.0+'
},
{}
);
}
<!-- Embed FX application into web page once page is loaded -->
dtjava.addOnloadCallback(javafxEmbedutils);
</script>
</head><body>
<h2>Test page for <b>java-fx-8-samples</b></h2>
<b>Webstart:</b> <a href='java-fx-8-samples.jnlp' onclick="return launchApplication('java-fx-8-samples.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
dist/java-fx-8-samples.jar vendored Normal file

Binary file not shown.

15
dist/java-fx-8-samples.jnlp vendored Normal file
View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="java-fx-8-samples.jnlp">
<information>
<title>java-fx-8-samples</title>
<vendor>mschw</vendor>
<description>null</description>
<offline-allowed/>
</information>
<resources>
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
<jar href="java-fx-8-samples.jar" size="199515" download="eager" />
</resources>
<jfx:javafx-desc width="800" height="600" main-class="utils.Runner" name="java-fx-8-samples" />
<update check="always"/>
</jnlp>

3
manifest.mf Normal file
View File

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

1797
nbproject/build-impl.xml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,2 @@
# Do not modify this property in this configuration. It can be re-generated.
$label=Run as WebStart

View File

@ -0,0 +1,2 @@
# Do not modify this property in this configuration. It can be re-generated.
$label=Run in Browser

View File

@ -0,0 +1,8 @@
build.xml.data.CRC32=3273e1d5
build.xml.script.CRC32=e5df4ff6
build.xml.stylesheet.CRC32=f85dc8f2@1.92.0.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=3273e1d5
nbproject/build-impl.xml.script.CRC32=f312b000
nbproject/build-impl.xml.stylesheet.CRC32=3a2fa800@1.92.0.48

4197
nbproject/jfx-impl.xml Normal file

File diff suppressed because it is too large Load Diff

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