aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net
diff options
context:
space:
mode:
authorOmair Majid <[email protected]>2011-05-31 12:00:01 -0400
committerOmair Majid <[email protected]>2011-05-31 12:00:01 -0400
commitbb07f5268340fcb25ccc80130d2be0e0b9820760 (patch)
tree3783c79e536142c0305a47b5f8ec6303ef96a05e /netx/net
parentdaf00816d5b19f04945e5d5e29c5c02fff8b4b4e (diff)
make splash screen a JDialog instead of a JFrame
We dont want the splash screen to be resized. Tiling window managers will resize JFrames but not JDialogs. 2011-05-31 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/JNLPSplashScreen.java: Subclass JDialog, not JFrame.
Diffstat (limited to 'netx/net')
-rw-r--r--netx/net/sourceforge/jnlp/JNLPSplashScreen.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/netx/net/sourceforge/jnlp/JNLPSplashScreen.java b/netx/net/sourceforge/jnlp/JNLPSplashScreen.java
index 2e9134b..f360402 100644
--- a/netx/net/sourceforge/jnlp/JNLPSplashScreen.java
+++ b/netx/net/sourceforge/jnlp/JNLPSplashScreen.java
@@ -10,12 +10,12 @@ import java.io.IOException;
import java.net.URL;
import javax.imageio.ImageIO;
-import javax.swing.JFrame;
+import javax.swing.JDialog;
import net.sourceforge.jnlp.cache.ResourceTracker;
import net.sourceforge.jnlp.runtime.JNLPRuntime;
-public class JNLPSplashScreen extends JFrame {
+public class JNLPSplashScreen extends JDialog {
String applicationTitle;
String applicationVendor;