OBJECT (HEIGHT)
This test case tests the <APPLET> tag with its mandatory HEIGHT attribute. The HEIGHT attribute can either be an absolute height using an integer value of pixels or a relative height using a relative percentage value.
Test Instructions:
In the following samples you should see that the HEIGHT attribute applies absolute integer numbers of pixels or relative percentages to the java applet. This tells the browser to scale the java applet so many pixels or percentage of the original object. |
- Verify that the samples display as stated in each of the following test cases:
- Verify that the java applet is maintained when you minimize/maximize the screen.
- Verify that the java applet is maintained when you re-size left & right the screen.
- Verify that the java applet is maintained when you re-size top & bottom the screen.
- Verify re-draw takes place correctly after maximizing the screen.
- Verify reload works.
Test Case #1 | sample java applet dimension scaling using absolute heights |
Test Case #2 | sample java applet dimension scaling using relative heights |
Test Case #1: sample java applet dimension scaling using absolute heights (using <APPLET CODEBASE=class pathname CODE="class name" HEIGHT=integer value> </APPLET>) |
---|
Java Applet Dimensions Scaled Down (Reverse Scaling)
original applet
applet height=65
applet height=50
applet height=25
applet height=15