Solved

Applet Resize based on Browser size?

Posted on 1997-04-04
1
308 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
ID: 1219419
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

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
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…
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 …
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…

895 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

15 Experts available now in Live!

Get 1:1 Help Now