From 27447b81332690e484ba126be3b9825a296a746b Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Mon, 15 May 2017 01:17:47 +0300 Subject: [PATCH] Possibility to build executable jar files. Removed applet support. Because of Oracle awful java security handling Java applet support seems to be dead. --- pom.xml | 6 ++--- sixth-3d-demos.iml | 3 +-- .../sixth/e3d/examples/launcher/Applet.java | 27 ------------------- .../launcher/{Standalone.java => Main.java} | 2 +- 4 files changed, 5 insertions(+), 33 deletions(-) delete mode 100644 src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Applet.java rename src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/{Standalone.java => Main.java} (96%) diff --git a/pom.xml b/pom.xml index e433b21..808d8d3 100644 --- a/pom.xml +++ b/pom.xml @@ -96,13 +96,13 @@ - eu.svjatoslav.sixth.Main + eu.svjatoslav.sixth.e3d.examples.launcher.Main jar-with-dependencies - sixth + sixth-3d-demos false @@ -119,7 +119,7 @@ - eu.svjatoslav.sixth.Main + eu.svjatoslav.sixth.e3d.examples.launcher.Main diff --git a/sixth-3d-demos.iml b/sixth-3d-demos.iml index 867e70a..a81cbb2 100644 --- a/sixth-3d-demos.iml +++ b/sixth-3d-demos.iml @@ -1,12 +1,11 @@ - + - diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Applet.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Applet.java deleted file mode 100644 index 62e8ef8..0000000 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Applet.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Sixth 3D engine demos. Copyright ©2012-2016, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of version 3 of the GNU Lesser General Public License - * or later as published by the Free Software Foundation. - */ - -package eu.svjatoslav.sixth.e3d.examples.launcher; - -import javax.swing.*; - -public class Applet extends JApplet { - - private static final long serialVersionUID = 8159435871928091621L; - private boolean appletInitialized = false; - - @Override - public void init() { - if (!appletInitialized) { - - getContentPane().add(new MenuPanel()); - appletInitialized = true; - } - } - -} diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Standalone.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Main.java similarity index 96% rename from src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Standalone.java rename to src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Main.java index 09fe770..5b970d4 100755 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Standalone.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Main.java @@ -12,7 +12,7 @@ package eu.svjatoslav.sixth.e3d.examples.launcher; * Main class to launch main menu with examples. */ -class Standalone { +class Main { public static void main(final String[] args) { LauncherFrame.main(args); -- 2.20.1