Pārlūkot izejas kodu

New Icon, readme

Martin Herbers 7 gadi atpakaļ
vecāks
revīzija
b15fd97beb
3 mainītis faili ar 13 papildinājumiem un 1 dzēšanām
  1. 11 1
      README.md
  2. BIN
      src/pictures/offline_launch_icons.png
  3. 2 0
      src/ui/Main.java

+ 11 - 1
README.md

@@ -1,3 +1,13 @@
 # OLIP
 
-Off-Line Interactor Printing
+Off-Line Interactor Printing
+
+## Compiling and Building OLIP
+
+This project was build with the IntelliJ Idea IDE. For compiling and building we recommend to use it.
+
+To compile the project, clone or download the zip file from the git repository and open the project folder from IntelliJ Idea. The main class is located under "/olip/src/ui/Main.java". 
+
+To set up the executable jar artifact, go to Project Structure or push "Ctrl+Alt+Shift+S". Go to Artifacts and push the green plus symbol. There choose "Jar -> From modules with dependencies...". Leave the field for Main Class blank as it produces errors. Make sure the Jar files from libraries settings is set to "extract to the target JAR". Click OK on both windows.
+
+To build the executable jar artifact, go to "Build -> Build Artifacts... -> OLIP.jar -> Build". After building the jar, it will be located under "/olip/out/artifacts/OLIP_jar/OLIP.jar"

BIN
src/pictures/offline_launch_icons.png


+ 2 - 0
src/ui/Main.java

@@ -88,6 +88,8 @@ public class Main extends Application {
 			}
 		});
 
+        primaryStage.getIcons().add(new Image(Main.class.getResourceAsStream("/pictures/offline_launch_icons.png")));
+
         UIController.setPath(getClass().getResource("/pictures/acceleration.png").toString().replace("acceleration.png", ""));
 
         Node nodeAccel = root.lookup("#accelerationPane");