• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet opening new window for applet

 
Mathur Mathur
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic