parent
b25414fccf
commit
5e37864468
@ -1,6 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding">
|
||||
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
|
||||
<file url="PROJECT" charset="UTF-8" />
|
||||
</component>
|
||||
</project>
|
||||
@ -1,16 +0,0 @@
|
||||
<component name="libraryTable">
|
||||
<library name="javafx-swt">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/Documents/Lib/javafx-sdk-11.0.2/lib/javafx-swt.jar!/" />
|
||||
<root url="jar://$USER_HOME$/Documents/Lib/javafx-sdk-11.0.2/lib/javafx.base.jar!/" />
|
||||
<root url="jar://$USER_HOME$/Documents/Lib/javafx-sdk-11.0.2/lib/javafx.controls.jar!/" />
|
||||
<root url="jar://$USER_HOME$/Documents/Lib/javafx-sdk-11.0.2/lib/javafx.fxml.jar!/" />
|
||||
<root url="jar://$USER_HOME$/Documents/Lib/javafx-sdk-11.0.2/lib/javafx.graphics.jar!/" />
|
||||
<root url="jar://$USER_HOME$/Documents/Lib/javafx-sdk-11.0.2/lib/javafx.swing.jar!/" />
|
||||
<root url="jar://$USER_HOME$/Documents/Lib/javafx-sdk-11.0.2/lib/javafx.media.jar!/" />
|
||||
<root url="jar://$USER_HOME$/Documents/Lib/javafx-sdk-11.0.2/lib/javafx.web.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
@ -1,24 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_11">
|
||||
<output url="file://$MODULE_DIR$/target/classes" />
|
||||
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/target/generated-sources/annotations" isTestSource="false" generated="true" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/${project.build.directory}/classes" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/${project.build.directory}/test-classes" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/target" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/.idea/libraries" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="javafx-swt" level="application" />
|
||||
<orderEntry type="library" name="fontawesomefx-8.1" level="application" />
|
||||
<orderEntry type="library" name="FX-BorderlessScene-4.0.0" level="application" />
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/annotations/20.1.0/annotations-20.1.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="library" name="jfoenix-9.0.10" level="application" />
|
||||
<orderEntry type="library" name="Maven: org.openjfx:javafx-controls:15" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.openjfx:javafx-controls:win:15" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.openjfx:javafx-graphics:15" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.openjfx:javafx-graphics:win:15" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.openjfx:javafx-base:15" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.openjfx:javafx-base:win:15" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.openjfx:javafx-fxml:15" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.openjfx:javafx-fxml:win:15" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.controlsfx:controlsfx:11.1.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.dlsc.formsfx:formsfx-core:11.3.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.webjars:font-awesome:5.15.3" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.kordamp.ikonli:ikonli-javafx:12.2.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.kordamp.ikonli:ikonli-core:12.2.0" level="project" />
|
||||
<orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter-api:5.7.1" level="project" />
|
||||
<orderEntry type="library" scope="TEST" name="Maven: org.apiguardian:apiguardian-api:1.1.0" level="project" />
|
||||
<orderEntry type="library" scope="TEST" name="Maven: org.opentest4j:opentest4j:1.2.0" level="project" />
|
||||
<orderEntry type="library" scope="TEST" name="Maven: org.junit.platform:junit-platform-commons:1.7.1" level="project" />
|
||||
<orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter-engine:5.7.1" level="project" />
|
||||
<orderEntry type="library" scope="TEST" name="Maven: org.junit.platform:junit-platform-engine:1.7.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.jfoenix:jfoenix:9.0.10" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.projectlombok:lombok:1.18.20" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
@ -0,0 +1,119 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
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>eu.lukasmartin</groupId>
|
||||
<artifactId>Genologie</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<junit.version>5.7.1</junit.version>
|
||||
<maven.compiler.release>11</maven.compiler.release>
|
||||
<javafx.version>15</javafx.version>
|
||||
<javafx.maven.plugin.version>0.0.6</javafx.maven.plugin.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx-controls</artifactId>
|
||||
<version>${javafx.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx-fxml</artifactId>
|
||||
<version>${javafx.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.controlsfx</groupId>
|
||||
<artifactId>controlsfx</artifactId>
|
||||
<version>11.1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dlsc.formsfx</groupId>
|
||||
<artifactId>formsfx-core</artifactId>
|
||||
<version>11.3.2</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>*</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<!-- https://mvnrepository.com/artifact/org.webjars/font-awesome -->
|
||||
<dependency>
|
||||
<groupId>org.webjars</groupId>
|
||||
<artifactId>font-awesome</artifactId>
|
||||
<version>5.15.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.kordamp.ikonli</groupId>
|
||||
<artifactId>ikonli-javafx</artifactId>
|
||||
<version>12.2.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-api</artifactId>
|
||||
<version>${junit.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-engine</artifactId>
|
||||
<version>${junit.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.jfoenix</groupId>
|
||||
<artifactId>jfoenix</artifactId>
|
||||
<version>9.0.10</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>1.18.20</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<configuration>
|
||||
<release>${maven.compiler.release}</release>
|
||||
<annotationProcessorPaths>
|
||||
<path>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>1.18.20</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx-maven-plugin</artifactId>
|
||||
<version>${javafx.maven.plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<!-- Default configuration for running with: mvn clean javafx:run -->
|
||||
<id>default-cli</id>
|
||||
<configuration>
|
||||
<release>${maven.compiler.release}</release>
|
||||
<launcher>launcher</launcher>
|
||||
<mainClass>eu.lukasmartin.genealogie_app.Main</mainClass>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
||||
</project>
|
||||
@ -1,33 +0,0 @@
|
||||
package eu.lukasmartin.genealogie_app;
|
||||
|
||||
import javafx.application.Application;
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.scene.Parent;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.stage.Stage;
|
||||
import javafx.stage.StageStyle;
|
||||
|
||||
/**
|
||||
* @author <a href="http://lukasmartin.eu">Lukas Martin</a>
|
||||
*/
|
||||
|
||||
public class Main extends Application {
|
||||
public static void main(String[] args) { //Main function
|
||||
launch(args); //Starts the program
|
||||
}
|
||||
|
||||
@Override
|
||||
public void start(Stage primaryStage) { //Start function
|
||||
try { //Try (check for runtime errors)
|
||||
Parent root = FXMLLoader.load(getClass().getResource("/eu/lukasmartin/resources/fxml/home.fxml")); //Gets the start FXML
|
||||
primaryStage.setTitle("Genologie"); //Sets the title of the start FXML
|
||||
primaryStage.initStyle(StageStyle.UNDECORATED); //Sets the style of the window to "UNDECORATED"
|
||||
primaryStage.setScene(new Scene(root, 1280, 680)); //Sets the scene for the start and sets the size
|
||||
eu.lukasmartin.helper.ResizeHelper.addResizeListener(primaryStage); //Test
|
||||
primaryStage.setResizable(true); //Sets the resizability to true
|
||||
primaryStage.show(); //Starts the window (therefore the program)
|
||||
} catch (Exception e) { //Catches the error
|
||||
e.printStackTrace(); //Prints out the error into the console
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
package eu.lukasmartin.genealogie_app;
|
||||
|
||||
import javafx.application.Application;
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.stage.Stage;
|
||||
import javafx.stage.StageStyle;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* @author <a href="http://lukasmartin.eu">Lukas Martin</a>
|
||||
*/
|
||||
|
||||
public class Main extends Application {
|
||||
public static void main(String[] args) { //Main function
|
||||
launch(args); //Starts the program
|
||||
}
|
||||
|
||||
@Override
|
||||
public void start(Stage primaryStage) throws IOException { //Start function
|
||||
FXMLLoader fxmlLoader = new FXMLLoader(Main.class.getResource("/eu/lukasmartin/fxml/home.fxml")); //Gets the start FXML
|
||||
primaryStage.setTitle("Genologie"); //Sets the title of the start FXML
|
||||
primaryStage.initStyle(StageStyle.UNDECORATED); //Sets the style of the window to "UNDECORATED"
|
||||
primaryStage.setScene(new Scene(fxmlLoader.load(), 1280, 680)); //Sets the scene for the start and sets the size
|
||||
eu.lukasmartin.helper.ResizeHelper.addResizeListener(primaryStage); //Test
|
||||
primaryStage.setResizable(true); //Sets the resizability to true
|
||||
primaryStage.show(); //Starts the window (therefore the program)
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue