Warning: The applet below allows the user to display the flag inverted or to burn the flag. When outlawed, burning the flag may subject the user to criminal charges.
No flag of any nation should be flown at a level higher that the flag of the USA. State flags should be flown at a level lower than that of the national flag.
If displayed at night, the flag should be properly lighted. If flown in the rain, the flag should be made of a water-shedding material. A non-waterproof flag should be taken down when it starts to rain.
Just because an American citizen has a right to burn the flag in protest doesn't mean that he or she should do that. Probably the only political event that could justify protest burning of the flag is any attempt to to desecrate the constitution by weakening any of the Bill of Rights, such as with an amendment to ban some particular (or any) form of symbolic protest.
Recently (2006) a similar effort failed by only one vote in the Senate. That failed effort inspired the creation of this applet version of the flag display program. An applet is a small application designed to run in an Internet browser.
The applet displays the flag of the United States of America (also known as the "American flag") by drawing the blue field, seven red stripes, six white stripes, and 50 white stars over the blue field. An "Invert the "Flag" button is shown at the top of the applet frame, and when pressed by the user, the flag is shown inverted (a distress signal).
If specifically enabled in the calling HTML code (the applet parameter "Burnable" must be set to "1"), "Burn the Flag" and "Reset the Flag" buttons will also be shown. Pushing the "Burn the Flag" button causes the flag to ignite at the lower left corner and burn up entirely. Pushing the "Reset the Flag" button after burning causes the flag to be restored to its full star spangled glory. Caution: pressing the "Burn the Flag" button may become illegal in the future.
The applet source code may be instructive to beginning programmers interested in simple drawing methods for two-dimensional graphics. The code also illustrates a method of running animation in a thread. I agree to the restrictions and conditions on the source code.
Richard dot J dot Wagner at gmail dot com
myflag.html
Hand crafted HTML code, applet, and applet source code copyright © 2006-2011, by
Rick Wagner, all rights reserved.
This page created July 19, 2006.
Last updated September 13, 2011.