Skip to content

Commit ce739ed

Browse files
committed
Added JavaFX Selft Writing Letter Animation
1 parent bd14a1b commit ce739ed

42 files changed

Lines changed: 6547 additions & 3 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Ikonli with Java Swing/target/test-classes/.netbeans_automatic_build

Whitespace-only changes.

LetterWriter/build.xml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<?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="LetterWriter" default="default" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
2+
<description>Builds, tests, and runs the project LetterWriter.</description>
3+
<import file="nbproject/build-impl.xml"/>
4+
<!--
5+
6+
There exist several targets which are by default empty and which can be
7+
used for execution of your tasks. These targets are usually executed
8+
before and after some main targets. Those of them relevant for JavaFX project are:
9+
10+
-pre-init: called before initialization of project properties
11+
-post-init: called after initialization of project properties
12+
-pre-compile: called before javac compilation
13+
-post-compile: called after javac compilation
14+
-pre-compile-test: called before javac compilation of JUnit tests
15+
-post-compile-test: called after javac compilation of JUnit tests
16+
-pre-jfx-jar: called before FX SDK specific <fx:jar> task
17+
-post-jfx-jar: called after FX SDK specific <fx:jar> task
18+
-pre-jfx-deploy: called before FX SDK specific <fx:deploy> task
19+
-post-jfx-deploy: called after FX SDK specific <fx:deploy> task
20+
-pre-jfx-native: called just after -pre-jfx-deploy if <fx:deploy> runs in native packaging mode
21+
-post-jfx-native: called just after -post-jfx-deploy if <fx:deploy> runs in native packaging mode
22+
-post-clean: called after cleaning build products
23+
24+
(Targets beginning with '-' are not intended to be called on their own.)
25+
26+
Example of inserting a HTML postprocessor after javaFX SDK deployment:
27+
28+
<target name="-post-jfx-deploy">
29+
<basename property="jfx.deployment.base" file="${jfx.deployment.jar}" suffix=".jar"/>
30+
<property name="jfx.deployment.html" location="${jfx.deployment.dir}${file.separator}${jfx.deployment.base}.html"/>
31+
<custompostprocess>
32+
<fileset dir="${jfx.deployment.html}"/>
33+
</custompostprocess>
34+
</target>
35+
36+
Example of calling an Ant task from JavaFX SDK. Note that access to JavaFX SDK Ant tasks must be
37+
initialized; to ensure this is done add the dependence on -check-jfx-sdk-version target:
38+
39+
<target name="-post-jfx-jar" depends="-check-jfx-sdk-version">
40+
<echo message="Calling jar task from JavaFX SDK"/>
41+
<fx:jar ...>
42+
...
43+
</fx:jar>
44+
</target>
45+
46+
For more details about JavaFX SDK Ant tasks go to
47+
http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm
48+
49+
For list of available properties check the files
50+
nbproject/build-impl.xml and nbproject/jfx-impl.xml.
51+
52+
-->
53+
</project>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#Sat, 20 Jul 2019 22:59:00 +0530
2+
3+
4+
C\:\\Users\\Villan\\Documents\\NetBeansProjects\\LetterWriter=
2.42 KB
Binary file not shown.
595 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<?import javafx.geometry.Insets?>
4+
<?import javafx.scene.control.TextArea?>
5+
<?import javafx.scene.image.Image?>
6+
<?import javafx.scene.image.ImageView?>
7+
<?import javafx.scene.layout.AnchorPane?>
8+
<?import javafx.scene.layout.StackPane?>
9+
10+
<StackPane prefWidth="856.0" stylesheets="@../resources/style.css" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="letterwriter.mainview.MainViewController">
11+
<children>
12+
<AnchorPane id="AnchorPane" prefHeight="608.0" prefWidth="676.0">
13+
<children>
14+
<TextArea fx:id="displayField" layoutX="14.0" styleClass="text-area" wrapText="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
15+
</children>
16+
</AnchorPane>
17+
<ImageView fitHeight="540.0" fitWidth="928.0" opacity="0.4" pickOnBounds="true">
18+
<image>
19+
<Image url="@../resources/RuledPage.png" />
20+
</image>
21+
<StackPane.margin>
22+
<Insets bottom="25.0" top="25.0" />
23+
</StackPane.margin>
24+
</ImageView>
25+
</children>
26+
</StackPane>
Binary file not shown.
35.6 KB
Loading

0 commit comments

Comments
 (0)