如何保存在Java小一些配置信息? [英] How to save some config information in an Java Applet?
本文介绍了如何保存在Java小一些配置信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在本地并永久保存在一个Java小程序的配置?理想情况下,这应该是一个没有签署Applet的工作。
How can I save a configuration locally and permanently in a Java Applet? Ideally this should be work with a not signed Applet.
推荐答案
在除了AlexR的方法。
In addition to AlexR's methods..
- ..
- ..
- 运行在新一代的Java插件(1.6.0_10 +)的小程序,并使用JNLP API的PersistenceService序列化的数据。这里是一个演示。在PersistenceService 的。
- ..
- ..
- Run the applet in a new generation Java plug-in (1.6.0_10+) and use the JNLP API's PersistenceService to serialize the data. Here is a demo. of the PersistenceService.
这篇关于如何保存在Java小一些配置信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文