aspose file tools*
The moose likes Applets and the fly likes Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Help" Watch "Help" New topic
Author

Help

mfesteba
Greenhorn

Joined: Aug 14, 2001
Posts: 1
Can anyone tell me how to make an applet come up in its own window, rather than being embedded on the web browsers HTML page.
Cheers!
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15632
    
  15

There always has to be a web page to "anchor" the applet, but you can make it open a new window using AWT or Swing. This window is usually prominently marked as being a Java Applet Window so you can't do something evil such as make a bogus web browser window and prompt for a password (such things have been known to happen, alas).
The anchor point can be fairly small, but the browser usually forbids it from being totally invisible - once again, they're trying to make sure the user isn't being tricked.
The two primary distinguishing features of applets are, first, that they must run in a container (such as a web browser) and two, that they run in a feature-restricted environment (sandbox).


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help