-
[RESOLVED] calling a url
I'm entirely new with java and my dumb question is:
how can i launch a new url in my internet explorer window using java?
is it like javascript function?
i know how to do this in javascript like location.href='newpage.htm'
how can i do this in java?
Code:
window.open('page.htm','test','toolbar=no,width=100;height=100') ;
please do advice.TIA
-
Re: calling a url
No javascript needed.
Code:
try
{
URL resourceURL = this.getClass().getResource("http://www.google.com");
getAppletContext().showDocument(resourceURL);
}
catch(Exception e)
{
e.printStackTrace();
}
-
Re: calling a url
would this code open my window with no toolbar and resized?
i need my window to open without toolbar and the width, height and top can be set.
TIA