aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/runtime
diff options
context:
space:
mode:
authorJiri Vanek <jvanek@redhat.com>2012-08-13 15:52:03 +0200
committerJiri Vanek <jvanek@redhat.com>2012-08-13 15:52:03 +0200
commit94049c8dd94caec6f2178e729893b2ba8cafbe74 (patch)
tree1f20174c59f6bd0e98d6549f07857afab19e7a19 /netx/net/sourceforge/jnlp/runtime
parenta0e3685615521759e08246d348dc6fbf58f8a6bc (diff)
Added splashscreen implementation
Diffstat (limited to 'netx/net/sourceforge/jnlp/runtime')
-rw-r--r--netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java10
-rw-r--r--netx/net/sourceforge/jnlp/runtime/Boot.java4
2 files changed, 12 insertions, 2 deletions
diff --git a/netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java b/netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java
index 03ab465..8e89530 100644
--- a/netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java
+++ b/netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java
@@ -27,6 +27,7 @@ import java.io.*;
import javax.swing.*;
import net.sourceforge.jnlp.*;
+import net.sourceforge.jnlp.splashscreen.SplashController;
import net.sourceforge.jnlp.util.*;
/**
@@ -130,6 +131,15 @@ public class AppletEnvironment implements AppletContext, AppletStub {
return cont;
}
+ /**
+ * container must be SplashContoler
+ *
+ */
+ public SplashController getSplashControler() {
+
+ return (SplashController)cont;
+ }
+
/**
* Initialize, start, and show the applet.
*/
diff --git a/netx/net/sourceforge/jnlp/runtime/Boot.java b/netx/net/sourceforge/jnlp/runtime/Boot.java
index b35b338..cd7d71a 100644
--- a/netx/net/sourceforge/jnlp/runtime/Boot.java
+++ b/netx/net/sourceforge/jnlp/runtime/Boot.java
@@ -53,8 +53,8 @@ public final class Boot implements PrivilegedAction<Void> {
// todo: decide whether a spawned netx (external launch)
// should inherit the same options as this instance (store argv?)
- private static final String name = Boot.class.getPackage().getImplementationTitle();
- private static final String version = Boot.class.getPackage().getImplementationVersion();
+ public static final String name = Boot.class.getPackage().getImplementationTitle();
+ public static final String version = Boot.class.getPackage().getImplementationVersion();
/** the text to display before launching the about link */
private static final String aboutMessage = ""