I've found several good examples out there on how to launch a web
browser
from a Java application, using the Runtime exec() command. However,
what
I'd like to do is configure the browser that's launched, as one would
in
an html link with the javascript onclick="window .open(
'http://www.mysite.com' , 'mywindow',
'width=500,heig ht=500,scrollba rs=no,resizable =no')"
Is there any way to set, for example, the width and height on the
browser
I launch? There doesn't seem to be any command line parameters for
the
browser I'm launching, and besides, those would be platform-specific.
I
suspect it will require some javascript trickery -- but I only know
how
to specify those parameters on links, not on the page I'm am newly
invoking...
Please help!
--Mark
browser
from a Java application, using the Runtime exec() command. However,
what
I'd like to do is configure the browser that's launched, as one would
in
an html link with the javascript onclick="window .open(
'http://www.mysite.com' , 'mywindow',
'width=500,heig ht=500,scrollba rs=no,resizable =no')"
Is there any way to set, for example, the width and height on the
browser
I launch? There doesn't seem to be any command line parameters for
the
browser I'm launching, and besides, those would be platform-specific.
I
suspect it will require some javascript trickery -- but I only know
how
to specify those parameters on links, not on the page I'm am newly
invoking...
Please help!
--Mark