Java applet equivalent to flash's LocalStorageObject?

Hi,
what would you use for saving games or settings in an applet? local file-system access requires the user to give you permission via a scary looking pop-up window. In flash I just use a Local Shared Object, which is pretty easy to use and gives me enough room for everything I need to save. With js you can use cookies or (with html5) LocalStorage (which is much better).

What do you use with java applets?

Thanks,
Ido.

You can use cookies, or if you want you could even interface with the JavaScript and have the JS store with a LocalStorageObject.

if you use applets via jnlp then you can use muffins, however as mentioned above html5 storage via javascript is probably the way to go these days since almost all browsers support it.

Aren’t muffins supported in all web browsers?

Java Muffins have nothing to do with the web browser and are a Java Web Start technology/API that became available to Java applets after support for JNLP applets was added in Java 1.6.0_10+.

Another thing to note is Java Muffins only give you a maximum of 100kb to work with while html5 local storage gives you 5mb+.