JFileChooser的内JApplet的使用 [英] JFileChooser use within JApplet
本文介绍了JFileChooser的内JApplet的使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可以在 JApplet的
使用的JFileChooser
,以便用户可以选择自己的硬盘驱动器上的文件?或者将这种违反Java小程序的安全性? (我假设正在使用默认的安全设置。我不想问我的用户授予我额外的权限)。
Can a JApplet
use a JFileChooser
so that the user can select a file on his hard-drive? Or would this violate Java applet security? (I'm assuming that the default security settings are being used. I don't want to ask my users to grant me extra permissions.)
推荐答案
此线程表明,你需要在你的小程序数字签名的JFileChooser
是允许的。
This thread indicates that you need to digitally sign your applet before a JFileChooser
is permitted.
这篇关于JFileChooser的内JApplet的使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文