Link to home
Start Free TrialLog in
Avatar of Mike2000
Mike2000

asked on

how to open a new window with specialized attributes(width,Height,etc)?

i have tried getAppletContext().showDocument(url),but it just to go a new URL,not a new window.

and i want to open a new window with specialized attributes:position,width,height,etc.

anyone can help me? thank you.
ASKER CERTIFIED SOLUTION
Avatar of Ravindra76
Ravindra76

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mike2000
Mike2000

ASKER

but i can't find any method to initialize the new window's width and height and position.

Hi Mike2000,

 Actually the above method is for redirecting htnl page to frames. Since we have given junk string, it opened a new window
The secnod parameter is  "Target" . If you have already a frame, it will come in that frame.

I din n't find method to fix height and width of window. This
metho i found in

AppletContext class

Best of luck