Java Reference
In-Depth Information
The next section will explore how to take advantage of a new feature that lets
you “undock” the applet and move it off the browser onto the desktop. We have
just shown that we need to set the launch attribute, draggable , in the preceding
example. We also added an applet parameter, isApplet , that will be used by the
NASA Image Browser application to determine whether it was started as a stand-
alone application or as an applet in a browser.
Undocking from the Browser
You might be asking, “What is this Undocking feature?” Basically, it allows you
to click on the application and drag it off the browser to anywhere on your desk-
top. Figure 9.4 shows the NASA Image Browser after it has been dragged off the
Firefox browser. It is now undocked from the browser and will continue to run
even if the user exits the browser.
Figure 9.4
Undocked NASA Image Browser Applet
 
Search WWH ::




Custom Search