Solved

Applet Resize based on Browser size?

Posted on 1997-04-04
1
311 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java exception bubble up 2 24
Delete Android all or certain applications data programmatically 9 111
Java program running SQL query 5 48
java mysql insert application 14 45
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
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…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
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:

749 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