2

In HTML5, one uses local storage to store things on the client's computer, making them persistent beyond a page refresh. Usually, one uses JavaScript to program things on the client-side, but Java applets can be on the client-side too! Thus, I must ask, how do I use local storage from within a Java applet? If it's not possible, then what can I use instead to make things persistent beyond a page refresh?

1 Answer 1

2

You can either use LiveConnect to call the JavaScript "HTML5" functions or (since 6u10) use javax.jnlp.PersistenceService.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.