Solved

Resize the applet to the browser size

Posted on 2000-05-08
1
329 Views
Last Modified: 2008-03-06
Hi,
How can I find the widh and height of the owner browser window(netscape/IE)  from my awt 1.1 applet to resize the width and
height of the applet to the same of the browser window ?

Its to perform the applet to be resized when the browser window is resized.

Thanks
0
Comment
Question by:lalinden
1 Comment
 
LVL 1

Accepted Solution

by:
sankars98 earned 100 total points
ID: 2789468

 The following will do it in IE.

 <applet code=xxx.class width = "100%" height = "100%" > </applet>

 Use the "%" in width and height parameter.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now