directory structure
This commit is contained in:
parent
0185053b8d
commit
121a86a6b5
6
pom.xml
6
pom.xml
@ -2,7 +2,7 @@
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>application</groupId>
|
||||
<groupId>main.java.jFxKasse</groupId>
|
||||
<artifactId>jFxKasse</artifactId>
|
||||
<version>0.1.0 - without Printer</version>
|
||||
<name>jFxKasse</name>
|
||||
@ -68,7 +68,7 @@
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<mainClass>application.Main</mainClass>
|
||||
<mainClass>main.java.jFxKasse.application.Main</mainClass>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
@ -82,7 +82,7 @@
|
||||
<transformers>
|
||||
<transformer
|
||||
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
||||
<mainClass>application.JavaFX11Main</mainClass>
|
||||
<mainClass>main.java.jFxKasse.application.JavaFX11Main</mainClass>
|
||||
</transformer>
|
||||
</transformers>
|
||||
</configuration>
|
||||
|
@ -1,4 +1,6 @@
|
||||
package application;
|
||||
package main.java.jFxKasse.application;
|
||||
|
||||
import main.java.jFxKasse.application.Main;
|
||||
|
||||
public class JavaFX11Main
|
||||
{
|
||||
@ -6,7 +8,5 @@ public class JavaFX11Main
|
||||
public static void main(String[] args)
|
||||
{
|
||||
Main.main(args);
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -1,17 +1,21 @@
|
||||
package application;
|
||||
package main.java.jFxKasse.application;
|
||||
|
||||
import javafx.application.Application;
|
||||
|
||||
import java.io.File;
|
||||
import javafx.animation.Animation;
|
||||
import javafx.animation.KeyFrame;
|
||||
import javafx.animation.Timeline;
|
||||
import javafx.application.Application;
|
||||
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.stage.Stage;
|
||||
import javafx.util.Duration;
|
||||
import main.java.jFxKasse.controller.MainWindowController;
|
||||
import main.java.jFxKasse.controller.DBController;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.scene.layout.AnchorPane;
|
||||
|
||||
public class Main extends Application
|
||||
public class Main extends Application
|
||||
{
|
||||
private MainWindowController mwc;
|
||||
|
||||
@ -32,7 +36,7 @@ public class Main extends Application
|
||||
{
|
||||
try {
|
||||
FXMLLoader loader = new FXMLLoader(
|
||||
getClass().getResource("MainWindow.fxml"));
|
||||
getClass().getResource("/fxml/MainWindow.fxml"));
|
||||
AnchorPane pane = loader.load();
|
||||
primaryStage.setTitle("jFxKasse"); // Title of window
|
||||
|
||||
@ -43,7 +47,7 @@ public class Main extends Application
|
||||
|
||||
Scene scene = new Scene(pane);
|
||||
scene.getStylesheets()
|
||||
.add(Main.class.getResource("application.css").toExternalForm());
|
||||
.add(Main.class.getResource("/css/application.css").toExternalForm());
|
||||
primaryStage.setScene(scene);
|
||||
primaryStage.show(); // shows the stage
|
||||
|
@ -1,4 +1,4 @@
|
||||
package application;
|
||||
package main.java.jFxKasse.controller;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.DriverManager;
|
||||
@ -7,9 +7,14 @@ import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.sql.Statement;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import main.java.jFxKasse.application.Main;
|
||||
import main.java.jFxKasse.datatypes.tableDataJob;
|
||||
import main.java.jFxKasse.datatypes.tableDataPositionen;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
class DBController
|
||||
public class DBController
|
||||
{
|
||||
private Connection connection;
|
||||
|
||||
@ -32,7 +37,7 @@ class DBController
|
||||
}
|
||||
}
|
||||
|
||||
DBController(Main main)
|
||||
public DBController(Main main)
|
||||
{
|
||||
this.main = main;
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package application;
|
||||
package main.java.jFxKasse.controller;
|
||||
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.geometry.Insets;
|
||||
@ -38,6 +38,11 @@ import javafx.scene.control.Tab;
|
||||
import javafx.scene.layout.AnchorPane;
|
||||
import javafx.scene.layout.GridPane;
|
||||
import javafx.util.Pair;
|
||||
import main.java.jFxKasse.application.Main;
|
||||
import main.java.jFxKasse.datatypes.Job;
|
||||
import main.java.jFxKasse.datatypes.tableDataCurrentOrder;
|
||||
import main.java.jFxKasse.datatypes.tableDataJob;
|
||||
import main.java.jFxKasse.datatypes.tableDataPositionen;
|
||||
|
||||
|
||||
public class MainWindowController
|
@ -1,4 +1,4 @@
|
||||
package application;
|
||||
package main.java.jFxKasse.datatypes;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package application;
|
||||
package main.java.jFxKasse.datatypes;
|
||||
|
||||
import javafx.beans.property.IntegerProperty;
|
||||
import javafx.beans.property.SimpleIntegerProperty;
|
@ -1,4 +1,4 @@
|
||||
package application;
|
||||
package main.java.jFxKasse.datatypes;
|
||||
|
||||
import javafx.beans.property.IntegerProperty;
|
||||
import javafx.beans.property.SimpleIntegerProperty;
|
@ -1,4 +1,4 @@
|
||||
package application;
|
||||
package main.java.jFxKasse.datatypes;
|
||||
|
||||
import javafx.beans.property.IntegerProperty;
|
||||
import javafx.beans.property.SimpleIntegerProperty;
|
Loading…
Reference in New Issue
Block a user