Applet的复制/粘贴不升级JRE 1.7后工作 [英] Applet copy/paste not working after upgrading JRE 1.7
问题描述
我有小程序,它加载的形式。窗体有文本,文本区域,下拉菜单,复选框控制。升级到JRE 1.7林无法右键点击我的文本字段复制内部之后/粘贴的任何内容。
我的JAR文件签署双重和安全权限设置。我还通过更改的.java.policy文件中的设置尝试解决方法:
//标准,可以被任何人读取properies
许可java.awt.AWTPermissionaccessClipboard
有趣的是,我可以用我的文本区域控件内,但没有任何其他的控制内右键做复制/粘贴。
任何建议/意见?
任何建议/意见?
块引用>
- 放弃小程序完全 1 或
- 下的需求(没有正确点击)。
他们总是皮塔饼,并增加幅度与最新安全更新的订单。
- 如果该功能并不需要嵌入在网页中,你可能有更多的运气与自由浮动的
的JFrame
使用的Java Web Start的的。 OTOH,它可能也成为受到无右键单击理念。I have applet which loads form. The form has text, textarea, dropdown, checkbox controls. After upgrading to JRE 1.7 Im not able to right click inside my text fields to copy/paste any content.
My JAR file is dually signed and security permissions set. I have also tried the workaround by changing settings in .java.policy file :
// "standard" properies that can be read by anyone permission java.awt.AWTPermission "accessClipboard";
Interestingly enough I can do copy/paste by right click inside my TEXTAREA control but not inside any other control.
Any suggestions/advice?
解决方案Any suggestions/advice?
- Abandon applets completely1, or
- Lower the requirements (no 'right click').
They were always a PITA, and that increased by an order of magnitude with the recent security updates.
- If the functionality does not need to be embedded in a web page, you might have more luck with a free floating
JFrame
launched using Java Web Start. OTOH, it might have also become subject to the 'no right click' philosophy.
这篇关于Applet的复制/粘贴不升级JRE 1.7后工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!