启动画面Jnlp无法正常工作 [英] Splash screen jnlp not working

查看:61
本文介绍了启动画面Jnlp无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我通过JWS调用.jar时,我试图使启动屏幕正常工作 以下是jnlp文件的详细信息.其他功能正在按预期方式工作. 我已将 pic.gif 文件放置在Apache tomact的ROOT文件夹中

I am trying to get the splash screen working 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报告-版本11.05.17

http://localhost:8080/WithoutManifest.jnlp

1.XML编码未知,但声明为UTF-8

1.XML encoding not known, but declared as UTF-8

  1. 通过添加标志来优化此应用程序以供离线使用.

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

可以通过为"WithoutManifest.jar"指定资源大小来优化下载.

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

可以通过删除download ='eager'的(默认)值来优化WithoutManifest.jar上的资源下载.

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

5.可以通过删除main ='false'的(默认)值来优化WithoutManifest.jar上的资源下载.

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

  1. 可能有可能优化应用程序的启动.通过为WithoutManifest.jar资源指定download ='lazy'.

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

除非指定了下载"part",否则惰性下载可能无法按预期的方式用于WithoutManifest.jar.

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

可以通过为"pic.gif"指定资源大小来优化下载. 图标加载和可以通过指定pic.gif的宽度和高度来优化使用

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

' http://localhost:8080/'的HREF可以优化为" .

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

<?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>

在实际申请之前,我只会看到下面两个弹出窗口.

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

我又如何更改在RED中选择的以下值,我没有在.jnlp文件中的任何位置提供这些值

Also how can i change the below values selected in RED, i am not providing those anywhere in .jnlp file

Apache版本-8.0.23 Java版本-1.8.0_40-b26

Apache version -8.0.23 Java version - 1.8.0_40-b26

推荐答案

初始屏幕不会在首次启动时出现.首次启动的优先级是下载和缓存类以及应用程序.在屏幕上.

The splash screen will not appear on first launch. The priority for the first launch is to get the classes downloaded and cached, and the app. on-screen.

这篇关于启动画面Jnlp无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆