This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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: 17033
    
  26

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).


An IDE is no substitute for an Intelligent Developer.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Help
 
It's not a secret anymore!