When you have successfully completed this assignment, I
shouldbe able to insert the following "applet"
and associated "param" tag(s) into an html file (substituting YOUR
logon id for "userid" in the codebase) and have it produce the
scalable box/oval/message shown at the bottom of this assignment
<applet code=assign5.class codebase=/phys2411/userid width=500 height=500 <param name="message" value="This should be CENTERED!" <param name="boxWidth" value="250" <param name="boxHeight" value="350" <param name="fontSize" value="14" <applet
These parameters represent:
With these variable parameters inserted in an html file, ANY user should be able to use your "assign5.class" Java-byte code to draw a rectangle of arbitrary width and arbitrary height (with an embedded oval and black diagonal line, as in assignment #4) AND print an arbitrary message just below the rectangle that is centered along the bottom of the rectangle (as illustrated below).
In order to successfully develop the java code that satisfies
the "scalability" requirements specified above, you may find it
useful to follow these suggestions: