Skip to content

Commit

Permalink
Create BUKKIT
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgrammerIn-wonderland committed Nov 17, 2019
1 parent 315626a commit b8492fb
Show file tree
Hide file tree
Showing 73 changed files with 10,368 additions and 0 deletions.
53 changes: 53 additions & 0 deletions BUKKIT/build.xml
Original file line number Diff line number Diff line change
@@ -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="AutofastForward(alpha1)" default="default" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
<description>Builds, tests, and runs the project AutofastForward(alpha1).</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 changes: 4 additions & 0 deletions BUKKIT/build/built-jar.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#Sun, 17 Nov 2019 11:51:04 -0500


C\:\\Users\\niris\\OneDrive\\Documents\\NetBeansProjects\\AutofastForward(alpha1)=
Binary file not shown.
24 changes: 24 additions & 0 deletions BUKKIT/build/classes/autofastforward/alpha1/FXMLDocument.fxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>


<AnchorPane id="AnchorPane" maxHeight="194" maxWidth="310" minHeight="194" minWidth="310" prefHeight="194" prefWidth="310" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="autofastforward.alpha1.FXMLDocumentController">
<children>
<ImageView fitHeight="206.0" fitWidth="320.0" layoutY="-2.0">
<image>
<Image url="@theme_1.png" />
</image>
</ImageView>
<Button fx:id="button" layoutX="55.0" layoutY="88.0" onAction="#handleButtonAction" text="Open Port" />
<Button fx:id="button1" layoutX="195.0" layoutY="88.0" onAction="#handleButtonAction2" text="Close Port" />
<TextField fx:id="portbox" layoutX="71.0" layoutY="48.0" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="25.0" prefWidth="204.0" text="25565" />
<Label fx:id="label" layoutX="126" layoutY="120" minHeight="16" minWidth="69" textFill="WHITE" />
<Label layoutX="46.0" layoutY="52.0" prefHeight="17.0" prefWidth="26.0" text="Port" textFill="WHITE" />
</children>
</AnchorPane>
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BUKKIT/build/classes/autofastforward/theme.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BUKKIT/build/classes/dosse/upnp/Gateway.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added BUKKIT/build/classes/dosse/upnp/UPnP$1.class
Binary file not shown.
Binary file added BUKKIT/build/classes/dosse/upnp/UPnP.class
Binary file not shown.
45 changes: 45 additions & 0 deletions BUKKIT/dist/AutofastForward(alpha1).html
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<html><head>
<SCRIPT src="./web-files/dtjava.js"></SCRIPT>
<script>
function launchApplication(jnlpfile) {
dtjava.launch( {
url : 'AutofastForward(alpha1).jnlp',
jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxqbmxwIHNwZWM9IjEuMCIgeG1sbnM6amZ4PSJodHRwOi8vamF2YWZ4LmNvbSIgaHJlZj0iQXV0b2Zhc3RGb3J3YXJkKGFscGhhMSkuam5scCI+DQogIDxpbmZvcm1hdGlvbj4NCiAgICA8dGl0bGU+QXV0b2Zhc3RGb3J3YXJkKGFscGhhMSk8L3RpdGxlPg0KICAgIDx2ZW5kb3I+bmlyaXM8L3ZlbmRvcj4NCiAgICA8ZGVzY3JpcHRpb24+bnVsbDwvZGVzY3JpcHRpb24+DQogICAgPG9mZmxpbmUtYWxsb3dlZC8+DQogIDwvaW5mb3JtYXRpb24+DQogIDxyZXNvdXJjZXM+DQogICAgPGoyc2UgdmVyc2lvbj0iMS42KyIgaHJlZj0iaHR0cDovL2phdmEuc3VuLmNvbS9wcm9kdWN0cy9hdXRvZGwvajJzZSIvPg0KICAgIDxqYXIgaHJlZj0iQXV0b2Zhc3RGb3J3YXJkKGFscGhhMSkuamFyIiBzaXplPSIyNTQ0ODciIGRvd25sb2FkPSJlYWdlciIgLz4NCiAgPC9yZXNvdXJjZXM+DQogIDxhcHBsZXQtZGVzYyAgd2lkdGg9IjgwMCIgaGVpZ2h0PSI2MDAiIG1haW4tY2xhc3M9ImNvbS5qYXZhZngubWFpbi5Ob0phdmFGWEZhbGxiYWNrIiAgbmFtZT0iQXV0b2Zhc3RGb3J3YXJkKGFscGhhMSkiID4NCiAgICA8cGFyYW0gbmFtZT0icmVxdWlyZWRGWFZlcnNpb24iIHZhbHVlPSI4LjArIi8+DQogIDwvYXBwbGV0LWRlc2M+DQogIDxqZng6amF2YWZ4LWRlc2MgIHdpZHRoPSI4MDAiIGhlaWdodD0iNjAwIiBtYWluLWNsYXNzPSJhdXRvZmFzdGZvcndhcmQuYWxwaGExLkF1dG9mYXN0Rm9yd2FyZEFscGhhMSIgIG5hbWU9IkF1dG9mYXN0Rm9yd2FyZChhbHBoYTEpIiAvPg0KICA8dXBkYXRlIGNoZWNrPSJhbHdheXMiLz4NCjwvam5scD4NCg=='
},
{
javafx : '8.0+'
},
{}
);
return false;
}
</script>

<script>
function javafxEmbedautofastforward.alpha1() {
dtjava.embed(
{
id : 'autofastforward.alpha1',
url : 'AutofastForward(alpha1).jnlp',
placeholder : 'javafx-app-placeholder',
width : '800',
height : '600',
jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxqbmxwIHNwZWM9IjEuMCIgeG1sbnM6amZ4PSJodHRwOi8vamF2YWZ4LmNvbSIgaHJlZj0iQXV0b2Zhc3RGb3J3YXJkKGFscGhhMSkuam5scCI+DQogIDxpbmZvcm1hdGlvbj4NCiAgICA8dGl0bGU+QXV0b2Zhc3RGb3J3YXJkKGFscGhhMSk8L3RpdGxlPg0KICAgIDx2ZW5kb3I+bmlyaXM8L3ZlbmRvcj4NCiAgICA8ZGVzY3JpcHRpb24+bnVsbDwvZGVzY3JpcHRpb24+DQogICAgPG9mZmxpbmUtYWxsb3dlZC8+DQogIDwvaW5mb3JtYXRpb24+DQogIDxyZXNvdXJjZXM+DQogICAgPGoyc2UgdmVyc2lvbj0iMS42KyIgaHJlZj0iaHR0cDovL2phdmEuc3VuLmNvbS9wcm9kdWN0cy9hdXRvZGwvajJzZSIvPg0KICAgIDxqYXIgaHJlZj0iQXV0b2Zhc3RGb3J3YXJkKGFscGhhMSkuamFyIiBzaXplPSIyNTQ0ODciIGRvd25sb2FkPSJlYWdlciIgLz4NCiAgPC9yZXNvdXJjZXM+DQogIDxhcHBsZXQtZGVzYyAgd2lkdGg9IjgwMCIgaGVpZ2h0PSI2MDAiIG1haW4tY2xhc3M9ImNvbS5qYXZhZngubWFpbi5Ob0phdmFGWEZhbGxiYWNrIiAgbmFtZT0iQXV0b2Zhc3RGb3J3YXJkKGFscGhhMSkiID4NCiAgICA8cGFyYW0gbmFtZT0icmVxdWlyZWRGWFZlcnNpb24iIHZhbHVlPSI4LjArIi8+DQogIDwvYXBwbGV0LWRlc2M+DQogIDxqZng6amF2YWZ4LWRlc2MgIHdpZHRoPSI4MDAiIGhlaWdodD0iNjAwIiBtYWluLWNsYXNzPSJhdXRvZmFzdGZvcndhcmQuYWxwaGExLkF1dG9mYXN0Rm9yd2FyZEFscGhhMSIgIG5hbWU9IkF1dG9mYXN0Rm9yd2FyZChhbHBoYTEpIiAvPg0KICA8dXBkYXRlIGNoZWNrPSJhbHdheXMiLz4NCjwvam5scD4NCg=='
},
{
javafx : '8.0+'
},
{}
);
}
<!-- Embed FX application into web page once page is loaded -->
dtjava.addOnloadCallback(javafxEmbedautofastforward.alpha1);
</script>

</head><body>
<h2>Test page for <b>AutofastForward(alpha1)</b></h2>
<b>Webstart:</b> <a href='AutofastForward(alpha1).jnlp' onclick="return launchApplication('AutofastForward(alpha1).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>
18 changes: 18 additions & 0 deletions BUKKIT/dist/AutofastForward(alpha1).jnlp
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="AutofastForward(alpha1).jnlp">
<information>
<title>AutofastForward(alpha1)</title>
<vendor>niris</vendor>
<description>null</description>
<offline-allowed/>
</information>
<resources>
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
<jar href="AutofastForward(alpha1).jar" size="254487" download="eager" />
</resources>
<applet-desc width="800" height="600" main-class="com.javafx.main.NoJavaFXFallback" name="AutofastForward(alpha1)" >
<param name="requiredFXVersion" value="8.0+"/>
</applet-desc>
<jfx:javafx-desc width="800" height="600" main-class="autofastforward.alpha1.AutofastForwardAlpha1" name="AutofastForward(alpha1)" />
<update check="always"/>
</jnlp>
Binary file added BUKKIT/dist/AutofastForward(beta).jar
Binary file not shown.
12 changes: 12 additions & 0 deletions BUKKIT/dist/AutofastForward(beta)/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Manifest-Version: 1.0
Implementation-Title: AutofastForward(alpha1)
X-COMMENT: Main-Class will be added automatically by build
Implementation-Version: 1.0
Permissions: sandbox
Codebase: *
JavaFX-Version: 8.0
Class-Path:
Created-By: JavaFX Packager
Implementation-Vendor: niris
Main-Class: autofastforward.alpha1.AutofastForwardAlpha1

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>


<AnchorPane id="AnchorPane" maxHeight="194" maxWidth="310" minHeight="194" minWidth="310" prefHeight="194" prefWidth="310" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="autofastforward.alpha1.FXMLDocumentController">
<children>
<ImageView fitHeight="206.0" fitWidth="320.0" layoutY="-2.0">
<image>
<Image url="@theme_1.png" />
</image>
</ImageView>
<Button fx:id="button" layoutX="55.0" layoutY="88.0" onAction="#handleButtonAction" text="Open Port" />
<Button fx:id="button1" layoutX="195.0" layoutY="88.0" onAction="#handleButtonAction2" text="Close Port" />
<TextField fx:id="portbox" layoutX="71.0" layoutY="48.0" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="25.0" prefWidth="204.0" text="25565" />
<Label fx:id="label" layoutX="126" layoutY="120" minHeight="16" minWidth="69" textFill="WHITE" />
<Label layoutX="46.0" layoutY="52.0" prefHeight="17.0" prefWidth="26.0" text="Port" textFill="WHITE" />
</children>
</AnchorPane>
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit b8492fb

Please sign in to comment.