Applets Section Index
How can I get a JavaScript menu to dropdown on top of an applet. The ones I have always go behind the applets I have loaded on my page.
You should think of an applet is a self containing page in a page. Because of this, the applets behave like they are different objects in html pages. This is the same for flash movies as well. Try...more
How can I display raw HTML, generated by an applet, without saving it on the server?
You can display HTML dynamically generated by your applet by passing it first to a JavaScript method,
(see also this
FAQ)
that in turn puts the code into the page.
You can overwrite a document fra...more
What are the main differences between applets and applications?
Applets are created to be embedded within a browser. As such, they have methods that are automatically called by the browser at certain times: init() when first loaded, start() when page loaded/en...more
How do I extend permissions to an applet without editing the policy file manually?
A: Short answer: Forget about Java 2 security (i.e. the policy file) when creating applets. No major web browser currently supports that security model. Instead, place the applet in ...more
How can an applet detect whether it's running behind a firewall or not?
There is no sure way, a problem compounded by the fact that there is no single definition of what a "firewall" is.
In many places there is no direct IP connectivity through the firewall...more
Where can I learn (more) about the JavaScript scripting language?
Check out the jGuru
JavaScript FAQ.
Where can I learn (more) about Java's AWT (Abstract Window Toolkit)?
Check out the jGuru AWT FAQ.
How do I disable Java in Mozilla Firefox?
Select Options in the Tools menu. From there, select Content on the top, and then make the the checkbox next to "Enable Java" is off.
How do I change the location for the cache used by Java Web Start / Java Plug-in?
Open up the Java Control Panel. On the General tab, select the Settings button in the Temporary Internet Files section. From there, select Change in the Location and identify the new location to m...more
How do I disable caching in Java Web Start?
Open up the Java Control Panel, on the General tab, select Settings in the Temporary Internet Files section. From there, make sure the checkbox next to the "Keep temporary files on my computer" op...more
How do I have the Java console automatically show up when the runtime for the Java Plug-in starts up?
This is controlled by an option in the Control Panel. Find the Advanced tab of the Java feature under the Control Panel. Select "Show console" and it will startup automatically.
I've hidden the Java Console from the system tray in Windows. How do I get it back?
Select Java in the Control Panel. Select the Advanced Tab. Find the Miscellaneous option at the bottom.
Make sure the "Place Java icon in system tray" option is selected.
What's up with applet permissions on Windows Vista?
According to the release notes:
On Windows Vista, there is a more restrictive sandbox for signed applets. A user has fewer privileges than if they were running on another Windows OS.
On a Wind...more
Im looking for the simpliest TTT source code, 3x3 matrix...Human vs Human. If anyone have it, please show me the script.
Here is a TicTacToe applet/application hybrid.
It runs as an applet in a browser and as an application when launched from the command prompt.
import java.awt.*;
import java.awt.event.*;
import j...more
How can I save applet state?
An applet persistence API was introduced some time ago with JDK 1.4, offering three methods of the java.applet.AppletContext interface: setStream(), getStream(), and getStreamKeys(). Use the setSt...more