Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
HellGateCorp authored Jul 27, 2022
1 parent be4afc8 commit 858919f
Show file tree
Hide file tree
Showing 22 changed files with 3,927 additions and 0 deletions.
Binary file added DOCxNGINxFX-v3.0/bin/generator/DocNginFX.class
Binary file not shown.
Binary file not shown.
493 changes: 493 additions & 0 deletions DOCxNGINxFX-v3.0/bin/generator/Generatorv3-dark.fxml

Large diffs are not rendered by default.

499 changes: 499 additions & 0 deletions DOCxNGINxFX-v3.0/bin/generator/Generatorv3-girlie.fxml

Large diffs are not rendered by default.

Binary file added DOCxNGINxFX-v3.0/bin/generator/Main.class
Binary file not shown.
489 changes: 489 additions & 0 deletions DOCxNGINxFX-v3.0/bin/generator/generatorv3.fxml

Large diffs are not rendered by default.

Binary file added DOCxNGINxFX-v3.0/bin/icon/banner.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 DOCxNGINxFX-v3.0/bin/icon/banner2.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 DOCxNGINxFX-v3.0/bin/sound/Bell.wav
Binary file not shown.
Binary file added DOCxNGINxFX-v3.0/bin/sound/buffershootout.wav
Binary file not shown.
Binary file added DOCxNGINxFX-v3.0/bin/sound/wheel.mp3
Binary file not shown.
80 changes: 80 additions & 0 deletions DOCxNGINxFX-v3.0/src/generator/DocNginFX.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
package generator;

import java.io.IOException;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class DocNginFX extends Application{
@Override
public void start(Stage meineStage) throws Exception {
//eine Instanz von FXMLLoader erzeugen
FXMLLoader meinLoader = new FXMLLoader(getClass().getResource("Generatorv3.fxml"));
//die Datei laden
Parent root = meinLoader.load();
//den Controller beschaffen
FXMLController meinController = meinLoader.getController();
//und die Bühne übergeben
meinController.setMeineStage(meineStage);
//die Szene erzeugen
//an den Konstruktor werden der oberste Knoten und die Größe übergeben
Scene meineScene = new Scene(root, 1400,848);
//den Titel über stage setzen
meineStage.setTitle("DOC:NGIN:FX \t by HellGateCorp");
meineStage.setResizable(true);
//die Szene setzen
meineStage.setScene(meineScene);
//und anzeigen
meineStage.show();
meinController.start();
meinController.playAudio();
}
public void zeichneNeuDark(Stage meineStage) throws IOException {

//eine Instanz von FXMLLoader erzeugen
FXMLLoader meinLoader = new FXMLLoader(getClass().getResource("Generatorv3-dark.fxml"));
//die Datei laden
Parent root = meinLoader.load();
//den Controller beschaffen
FXMLController meinController = meinLoader.getController();
//und die Bühne übergeben
meinController.setMeineStage(meineStage);
//die Szene erzeugen
//an den Konstruktor werden der oberste Knoten und die Größe übergeben
Scene meineScene = new Scene(root, 1400,848);
//den Titel über stage setzen
meineStage.setTitle("DOC:NGIN:FX \t by HellGateCorp");
meineStage.setResizable(true);
//die Szene setzen
meineStage.setScene(meineScene);
//und anzeigen
meineStage.show();
meinController.start();

}
public void zeichneNeuGirlie(Stage meineStage) throws IOException {

//eine Instanz von FXMLLoader erzeugen
FXMLLoader meinLoader = new FXMLLoader(getClass().getResource("Generatorv3-girlie.fxml"));
//die Datei laden
Parent root = meinLoader.load();
//den Controller beschaffen
FXMLController meinController = meinLoader.getController();
//und die Bühne übergeben
meinController.setMeineStage(meineStage);
//die Szene erzeugen
//an den Konstruktor werden der oberste Knoten und die Größe übergeben
Scene meineScene = new Scene(root, 1400,848);
//den Titel über stage setzen
meineStage.setTitle("DOC:NGIN:FX \t by HellGateCorp");
meineStage.setResizable(true);
//die Szene setzen
meineStage.setScene(meineScene);
//und anzeigen
meineStage.show();
meinController.start();
}
}
Loading

0 comments on commit 858919f

Please sign in to comment.