Solved

Resize the applet to the browser size

Posted on 2000-05-08
1
333 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

947 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

21 Experts available now in Live!

Get 1:1 Help Now