如何使用图标Java小程序? [英] How to use icon in Java applet?

查看:221
本文介绍了如何使用图标Java小程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用我的图标Java小程序。我该怎么做?

I want to use my icon in a Java applet. How can I do that?

推荐答案

我不是要与有限制地访问对话框图标做pretty确保事情...

I am not pretty sure things you want to do with the restricted access dialog icon...

但是,实际上,上传的图片,你在你的问题表明,它是不是 应用程序,但JRE限制访问对话的一部分。

But, actually, the uploaded image you showed in your question it is NOT A PART OF "your application" but jre restricted access dialog.

这表明当你试图运行已签名Applet ...它允许您:

It shows when you are trying to run a signed applet... It allows you :


  • A)与不受限制的访问运行小程序一旦

  • B)或将小程序证书到证书存储,使其可信的,并没有运行
    安全对话框后

这听起来很奇怪,但换句话说,你的问题是关于改变对客户机JRE的东西:S所以我想这是一个坏主意,试图改变JRE警告 - 安全对话框图标本身:•

It sounds strange but in other words your question is about "changing something on client machine JRE" :S So I guess it is a bad idea trying to change the jre "Warning-Security" dialog icon itself :S

即使你开始一个pretty正确的签名小程序,一旦你将仍然有显示的限制访问对话框,直到让信任证书;所以无论如何,对话框将显示甚至一度对具有受信任的证书;这让我觉得你无论如何不能避免此对话框,显示您的签署小程序;

Even if you starts a pretty correct signed applet once you still will have the restricted access dialog shown until you makes the cert trusted; So anyway the dialog will be shown even once for having cert trusted; It makes me think you anyhow cannot avoid having this dialog showing for your signed applet;

仍然可以使限制访问对话框从未显示;但要做到这一点的唯一方法就是保留您的小程序的在沙盒使用框架无限制 - 无害在您的小程序的项目和小程序应该是无符号库;欲了解更多详细信息,有什么未签名的Applet可以做或者什么他们不能你可以阅读的此内容教程;

Still you can make the restricted access dialog NEVER BEEN SHOWN; But the only way to do so is keeping your applet in sandbox frames using "unrestricted - the harmless" libraries in your applet project and your applet should be unsigned; For more detailed information what unsigned applet can do or what they're can't you can read this tutorial;

P.S。
在这种情况下你的意思是别的东西在你的问题请不要评论

P.S. In the case you meant something else in your question please do comment

这篇关于如何使用图标Java小程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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