You are here: Test Case Description for applets within <applet> tag > Test Case #9 for applets within <applet>: absolute width
Applets: APPLET (absolute width)
This test case tests the <applet> tag with its mandatory width attribute which, similar to the <img> tag, explicitly specifies the width of the java applet. the width attribute can either be an absolute width using an integer value of pixels or a relative width using a relative percentage value.
Test Instructions
- 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.
Java Applet Dimensions Scaled Down (Reverse Scaling)
Original applet
Object width="300"
Object width="200"
Object width="150"
Object width="100"