Solved

Resize the applet to the browser size

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JUnit 4 @Before and @BeforeClass differences 3 60
simple java question 3 56
Java - Why doesn't this JFrame work 3 59
going to wrong jsp page 2 21
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

809 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