Solved

Applet Resize based on Browser size?

Posted on 1997-04-04
1
303 Views
Last Modified: 2006-11-17
Hi,

Can I resize an applet based on the frame size?

I would like my aplet read the dimentions of the frame the applet is executing in, and resize the applet based on the frame size.  This should be done on initialization and when a user changes frame dimentions later.

Thanks,

Alex.
0
Comment
Question by:akoifman
1 Comment
 

Accepted Solution

by:
heech earned 50 total points
Comment Utility
Actually..you can't resize an applet within a browser.
I.e. once you do a <applet blah.... height=300 width=300>
etc, the applet size is fixed.  You can however pop up new
frames, which of course you can size however you want.
The windows will have a neat little message specifying this is
an unsecure applet window though.

0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

771 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

11 Experts available now in Live!

Get 1:1 Help Now