next-generation-plugin

How can I start an Java applet with more memory?

纵然是瞬间 提交于 2019-11-27 19:11:34
问题 The default 64 MB max heap memory can be small for a large Java application. Are there any applet parameter to increment this for a signed applet? For a Java program this is a simple command line parameter but how this work for an applet in the browser. 回答1: The new plugin architecture in JDK6u10 supports this. Prior to that, the only way to do it was in the Java control panel. 回答2: Use the JavaConsole -> Java -> Java Applet Runtime settings to define the initial and maximum memory allocation

Copy/Paste not working in a signed Applet

梦想的初衷 提交于 2019-11-27 14:51:38
I've a signed applet (which verifies correctly with jarsigner ) that for some reason will not allow copy and paste from the system clipboard into a JTextField despite the documentation telling me that it is supposed to work for signed applets. Furthermore, I've other applets which are signed with the same keyfile that do let me copy and paste text. I have searched high and low on the internet and can't seem to find any clues. What is making me pull my hair out is that there seems to be no way to debug this (no output in the console - no thrown exceptions). Does any one have any ideas on how I