aspose file tools*
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 Java 8 in Action this week in the Java 8 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.
I agree. Here's the link:
subject: appletcontext.showDocument(...)
Similar Threads
displaying window without toolbar
activating an applet after clicking submit button. . .
Links in Applets
Please Help ! Applet to Servlet : Content is not updated? Suspect browser cache