Mercurial > hg > release > icedtea-web-1.6
changeset 250:af1ed34483d1
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 <omajid@redhat.com>
* netx/net/sourceforge/jnlp/JNLPSplashScreen.java: Subclass JDialog, not
JFrame.
author | Omair Majid <omajid@redhat.com> |
---|---|
date | Tue, 31 May 2011 12:00:01 -0400 |
parents | 03f8f75457dc |
children | 2cfa903b7216 |
files | ChangeLog netx/net/sourceforge/jnlp/JNLPSplashScreen.java |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon May 30 14:03:23 2011 -0400 +++ b/ChangeLog Tue May 31 12:00:01 2011 -0400 @@ -1,3 +1,8 @@ +2011-05-31 Omair Majid <omajid@redhat.com> + + * netx/net/sourceforge/jnlp/JNLPSplashScreen.java: Subclass JDialog, not + JFrame. + 2011-05-30 Andrew Su <asu@redhat.com> * netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java:
--- a/netx/net/sourceforge/jnlp/JNLPSplashScreen.java Mon May 30 14:03:23 2011 -0400 +++ b/netx/net/sourceforge/jnlp/JNLPSplashScreen.java Tue May 31 12:00:01 2011 -0400 @@ -10,12 +10,12 @@ 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;