File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes java! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "java!" Watch "java!" New topic


David Barrell

Joined: Feb 13, 2006
Posts: 1
is it possible to stop an applet from loading untill a button is pressed in a form on a web page?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
No, that's completely under the control of the browser. You could try not having the applet in the web page, and only inserting it into the page DOM once the button is pressed. Don't know if this works with applets, though.

What is the problem you're trying to solve? There may be other ways to achieve a similar effect.
I agree. Here's the link:
subject: java!
It's not a secret anymore!