From: Svjatoslav Agejenko Date: Sun, 14 May 2017 22:17:47 +0000 (+0300) Subject: Possibility to build executable jar files. Removed applet support. X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=sixth-3d-demos.git;a=commitdiff_plain;h=27447b81332690e484ba126be3b9825a296a746b Possibility to build executable jar files. Removed applet support. Because of Oracle awful java security handling Java applet support seems to be dead. --- 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/Main.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Main.java new file mode 100755 index 0000000..5b970d4 --- /dev/null +++ b/src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Main.java @@ -0,0 +1,21 @@ +/* + * 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; + +/** + * Main class to launch main menu with examples. + */ + +class Main { + + public static void main(final String[] args) { + LauncherFrame.main(args); + } + +} diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Standalone.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Standalone.java deleted file mode 100755 index 09fe770..0000000 --- a/src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Standalone.java +++ /dev/null @@ -1,21 +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; - -/** - * Main class to launch main menu with examples. - */ - -class Standalone { - - public static void main(final String[] args) { - LauncherFrame.main(args); - } - -}