wood burning stoves*
The moose likes Servlets and the fly likes servlet opening new window for applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet opening new window for applet" Watch "servlet opening new window for applet" New topic
Author

servlet opening new window for applet

Mathur Mathur
Greenhorn

Joined: Jul 02, 2003
Posts: 5
I have a index.html file which calls gamelogin1.class to check userid and password. Gamelogin1 opens gameapplet. I want to modify the code so that gameapplet is opened in a new window without tool bars etc. Exacly what should I writein place of following:
out.println("<applet code=gameapplet.class width=770 height=490 codebase='http://www.xyz.com/java-crore'>");
Can anyone help so that full window (without tool bar can be opened. thanks in advance.
bharat nagpal
Ranch Hand

Joined: Oct 26, 2002
Posts: 76
Use Window.open() method of javascript.
Explore this method,you can choose whatever you want to in your browser window, like not to display toolbar,addressbar etc.
 
Consider Paul's rocket mass heater.
 
subject: servlet opening new window for applet