This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Applets and the fly likes appletcontext.showDocument(...) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "appletcontext.showDocument(...)" Watch "appletcontext.showDocument(...)" New topic


ray bond
Ranch Hand

Joined: Oct 11, 2000
Posts: 111
we can show html page from applet using appletcontext.showDocument(...) method , this shows html page in normal browser window but what if we want this window without statusbar,height=300,width=300,directories=no,menubar=no,toolbar=no , how can we get this kind of window through applets.
Max Punch

Joined: Jan 03, 2001
Posts: 4
Suneel Setlur
Ranch Hand

Joined: Nov 26, 2000
Posts: 202
The showDocument can be given _blank as a parameter which will show your document in a new window.
When you say new window, it comes with all default menus and options.
You can do one thing....customise one browser window so that it does not have anyof the standard menus and bars and then
pass the parameter _self so the document is shown in the configured window.
Try it...please get back


ray bond
Ranch Hand

Joined: Oct 11, 2000
Posts: 111
I am having applet in one browser window and from that window I am poping up new browser window using appletcontext.showDocument(...) , so it is new _blank window , and also I tried to open _self but it still have toolbar , statusbar etc. , how can I have window which I show using appletcontext.showDocument(...) without toolbar , height=300 ,width=300 etc.
jQuery in Action, 2nd edition
subject: appletcontext.showDocument(...)
Similar Threads
activating an applet after clicking submit button. . .
displaying window without toolbar
Please Help ! Applet to Servlet : Content is not updated? Suspect browser cache
Links in Applets