Applets Section Index | Page 4
The 1.4 JDK creates class files that are incompatible with the 1.1 runtime. Prior versions of the JDK defaulted to the old version. 1.4 defaults to the new (1.2) format. To generate an applet comp...more
Sun offers the Java Plug-in for free via their Get Java program at http://java.sun.com/getjava/download.html.
Under the Tools menu, select the Internet Options option. Then select the Advanced tab. You'll need to scroll down about half way until you see the little Java logo next to Java (Sun). To disable ...more
Nope. This tool doesn't generate Java byte codes. Instead, it works with .NET.
You can use showDocument() to show any file that a browser to display. The key to displaying a CHM (.chm) file is to make sure the web server sets the appropriate content/MIME type. How to do this...more
When started from the command line, you can pass "java" options by using the -J command-line option. Combining the -Xmx option with -J, you get the following: appletviewer -J-Xmx64m example.html more
The inheritence hierarchy of the java.applet.Applet class is as follows: +-----------+ | Object | +-----------+ | +-----------+ | Component | +-----------+ | +-----------+ | Contai...more
PNG support is not native to Java until 1.3. If you want to display it with a prior version of Java, like the 1.1 VM found in browsers, you must find support elsewhere. One such source is Jimi. Fo...more
The getInsets() method reports the space used by the window's decorations like the title bar and any message bar. The value isn't valid until the applet is realized/displayed.more
Untrusted applets cannot call System.getProperties(). They must get individual applet properties. Either ask for the specific property you want, assuming it is available from an applet, as not all...more
The Java Sound API contains support for playing byte arrays. Given that this question was submited to the Applets FAQ, I'm assuming you're not using a Java runtime new enough to support that. If y...more
Yes. There are no required permissions to enable or disable assertion checking. This permits the applet to only access/alter classes from the same classloader, so doesn't expand access in any way....more