File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "appletcontext.showDocument(...)" Watch "appletcontext.showDocument(...)" New topic
Author

appletcontext.showDocument(...)

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.
thanks
Max Punch
Greenhorn

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

Joined: Nov 26, 2000
Posts: 202
Hi
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

------------------
Suneel


Suneel
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.
thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: appletcontext.showDocument(...)