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

browser control

Judy Abott

Joined: Aug 13, 2001
Posts: 6
hi, i want to get control over thebrowser in which the applet is loaded, no toolbar to be displayed, and no pull down menu! so as to inforce the user to stay within! and perform the flow designed, how to do that ...........???
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

It's not considered polite for children to control their parents - so there's no way, short of developing a custom browser and forcing users to access the website only through it.
If flow of control is giving you problems, though, you might consider an approach like struts ( When everything goes through the same controlling servlet, the servlet can enforce state.

An IDE is no substitute for an Intelligent Developer.
Judy Abott

Joined: Aug 13, 2001
Posts: 6
thanx tim, but u understood me all wrong
maybe i didn't explain it well:
what i want, is that the browser, explorer or netscape or else...
when my html page, with the applet inside, i want to control this browser in away to hide toolbars, and icons and pull down menu, so as user strict to the applet space, i.e no back no forward .. no View---> page source etc...
guess i made it more clear now!
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

You can do some of that through javascript( not a java applet ), but if you're using an applet wouldn't it just be simpler to open an applet frame?


Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: browser control
It's not a secret anymore!