Forum Stats

  • 3,838,503 Users
  • 2,262,377 Discussions
  • 7,900,674 Comments

Discussions

JNLP splash screen change not working

1016274
1016274 Member Posts: 18
edited Aug 14, 2015 2:05PM in Java Technology & XML

I am trying to change the default splash screen when i am calling a .jar thru JWS Below are the details of the jnlp file. Other features are working as expected. I have placed the pic.gif file in ROOT folder of Apache tomact

JaNeLA Report - version 11.05.17

Report for http://localhost:8080/WithoutManifest.jnlp

    XML encoding not known, but declared as UTF-8

    Optimize this application for off-line use by adding the flag.

    Downloads can be optimized by specifying a resource size for 'WithoutManifest.jar'.

    The resource download at WithoutManifest.jar can be optimized by removing the (default) value of download='eager'.

    The resource download at WithoutManifest.jar can be optimized by removing the (default) value of main='false'.

    It might be possible to optimize the start-up of the app. by specifying download='lazy' for the WithoutManifest.jar resource.

    Lazy downloads might not work as expected for WithoutManifest.jar unless the download 'part' is specified.

    Downloads can be optimized by specifying a resource size for 'pic.gif'. Icon loading & use can be optimized by specifying the width and height for pic.gif

    The HREF of 'http://localhost:8080/' could be optimized to ''.

jnlp FILE

<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://localhost:8080/" href="WithoutManifest.jnlp">
     <information>
          <title>TITLE</title>
          <vendor>Pallab</vendor>
          <homepage href="http://localhost:8080/" />
         <icon kind="splash" href="pic.gif"/>
     </information>
     <security>
          <all-permissions/>
     </security>
     <resources>
          <j2se version="1.6+" />
          <jar href="WithoutManifest.jar" />
     </resources>
     <application-desc main-class="WithoutManifest" />
</jnlp>

Apache version -8.0.23 Java version - 1.8.0_40-b26

I am only seeing below Pop-up before my actual application.

JAVA_SNAP.JPG

This discussion has been closed.