aboutsummaryrefslogtreecommitdiffstats
path: root/tests/netx/unit/net/sourceforge
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2013-07-17 18:59:39 +0200
committerJiri Vanek <[email protected]>2013-07-17 18:59:39 +0200
commit0fe719f17d81f95491b939f23b5d5c3111f7c427 (patch)
tree25f1bbb19fb3b6f9d7d83c62881bbf5bbb664703 /tests/netx/unit/net/sourceforge
parent26dd00c0e206323d17c4b84adeda1cb43084a7a2 (diff)
About dialogue made accessible from plugin
Diffstat (limited to 'tests/netx/unit/net/sourceforge')
-rw-r--r--tests/netx/unit/net/sourceforge/jnlp/splashscreen/SplashScreenTest.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/netx/unit/net/sourceforge/jnlp/splashscreen/SplashScreenTest.java b/tests/netx/unit/net/sourceforge/jnlp/splashscreen/SplashScreenTest.java
index 138ce58..44b1271 100644
--- a/tests/netx/unit/net/sourceforge/jnlp/splashscreen/SplashScreenTest.java
+++ b/tests/netx/unit/net/sourceforge/jnlp/splashscreen/SplashScreenTest.java
@@ -74,8 +74,8 @@ public class SplashScreenTest extends JDialog {
ie.setvendor("IcedTea-Web team");
ie.addDescription("Testing null description");
ie.addDescription("tsting twoline des ...break\ncription of kind short", InfoItem.descriptionKindShort);
- //panel.setInformationElement(ie);
- //panel.setVersion("1.2-re45fdg");
+ panel.setInformationElement(ie);
+ panel.setVersion("1.2-re45fdg");
setLayout(new BorderLayout());
getContentPane().add(panel.getSplashComponent(), BorderLayout.CENTER);
@@ -159,7 +159,7 @@ public class SplashScreenTest extends JDialog {
panel.startAnimation();
try {
- Thread.sleep(5000);
+ Thread.sleep(10000);
} catch (Exception e) {
}
//not needed
@@ -169,7 +169,10 @@ public class SplashScreenTest extends JDialog {
app.remove(panel.getSplashComponent());
r.setPercentage(panel.getPercentage());
r.adjustForSize();
+ r.setLoadingException(new RuntimeException(":)"));
panel = r;
+ panel.setVersion("1.2-re45fdg");
+
app.add(panel.getSplashComponent());
app.validateTree();
//app.pack();