📄 mdc.html
字号:
<html>
<head>
<title>CelebrityPainter</title>
<meta name="GENERATOR" content="Mozilla/2.01Gold (Win32)">
</head>
<body>
<center><p><b><font SIZE=+3>Celebrity Painter</font></b></p></center>
<p>
<hr><b><i><font SIZE=-1>NOTE: This applet takes about 15 seconds to load
using a 28.8. Changing brushes takes about 5-8 seconds. Be patient, it's
worth it! </font></i></b>
<br></p>
<BR>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=10>
<TR>
<TD></TD>
<TD>
<I>The available brushes are pictured below. Choose the celebrity's name from the list box
to paint with his/her face. There are more brushes than can fit in the list box, so holding the
mouse button down while dragging up or down in the list box will scroll through the available
brushes.</I>
</TD>
</TR>
<TR>
<TD>
<APPLET CODE=CelebrityPainter.class WIDTH=300 HEIGHT=200>
<PARAM NAME=brush1 VALUE="Drew Barrymore">
<PARAM NAME=brush2 VALUE="Jim Carrey">
<PARAM NAME=brush3 VALUE="Bill Clinton">
<PARAM NAME=brush4 VALUE="Cindy Crawford">
<PARAM NAME=brush5 VALUE="Harrison Ford">
<PARAM NAME=brush6 VALUE="Bill Gates">
<PARAM NAME=brush7 VALUE="Janet Jackson">
<PARAM NAME=brush8 VALUE="Lisa Kudrow">
<PARAM NAME=brush9 VALUE="David Letterman">
<PARAM NAME=brush10 VALUE="Madonna">
<PARAM NAME=brush11 VALUE="Demi Moore">
<PARAM NAME=brush12 VALUE="Matthew Perry">
<PARAM NAME=brush13 VALUE="Brad Pitt">
<PARAM NAME=brush14 VALUE="Colin Powell">
<PARAM NAME=brush15 VALUE="Cybill Shepherd">
<PARAM NAME=brush16 VALUE="Alicia Silverstone">
<PARAM NAME=brush17 VALUE="OJ Simpson">
</APPLET>
<TD>
<IMG SRC="DrewBarrymoreBR.jpg" BORDER=0></A>
<IMG SRC="JimCarreyBR.jpg" BORDER=0></A>
<IMG SRC="BillClintonBR.jpg" BORDER=0></A>
<IMG SRC="CindyCrawfordBR.jpg" BORDER=0></A>
<IMG SRC="HarrisonFordBR.jpg" BORDER=0></A>
<IMG SRC="BillGatesBR.jpg" BORDER=0></A>
<IMG SRC="JanetJacksonBR.jpg" BORDER=0></A>
<IMG SRC="LisaKudrowBR.jpg" BORDER=0></A>
<IMG SRC="DavidLettermanBR.jpg" BORDER=0></A>
<IMG SRC="MadonnaBR.jpg" BORDER=0></A>
<IMG SRC="DemiMooreBR.jpg" BORDER=0></A>
<IMG SRC="MatthewPerryBR.jpg" BORDER=0></A>
<IMG SRC="BradPittBR.jpg" BORDER=0></A>
<IMG SRC="ColinPowellBR.jpg" BORDER=0></A>
<IMG SRC="CybillShepherdBR.jpg" BORDER=0></A>
<IMG SRC="AliciaSilverstoneBR.jpg" BORDER=0></A>
<IMG SRC="OJSimpsonBR.jpg" BORDER=0></A>
</TD>
</TD>
</TR>
</TABLE>
<p>
<br><font SIZE=+0>Applet Name: Celebrity Painter
<br>Applet Source: <a href="CelebrityPainter.java">CelebrityPainter.java
<br></a>Import(s): java.applet, java.awt, java.awt.image
<br>Feature(s): image, audio, GUI, mouse
<br>Author: <a href="mailto:jeff@demonsys.com">Jeff Orki</a><a href="mailto:jorkin@denver.net">n
<br>
<br></a></font><b><font SIZE=+2>Usage Guide:</font></b></p>
<p><font SIZE=+0>To run this applet, you need to create an html page that
links in the applet, and provides parameter lines for celebrity brushes
to include. The html to link in the applet should look like this:</font></p>
<pre><font SIZE=+0><APPLET CODE=CelebrityPainter.class WIDTH=300 HEIGHT=200>
<PARAM NAME=brush1 VALUE="Drew Barrymore">
<PARAM NAME=brush2 VALUE="Jim Carrey">
<PARAM NAME=brush3 VALUE="Bill Clinton">
</APPLET></font></pre>
<p><font SIZE=+0>You can add as many celebrities as you want.
<br>To add celebrities:
<br>1. Add a parameter line to the applet tag in the html that has the
next sequential brush number, and gives a name string.
<br>2. Provide a 160x200 jpeg of the celebrity, with a filename that matches
the name string without spaces.
<br>3. Provide a 40x50 jpeg of the celebrity, with a filename that matches
the name string without spaces plus the characters "BR".</font></p>
<p><font SIZE=+0>For example, to add a David Letterman brush:
<br>1. Add the parameter line
<br><PARAM NAME=brush4 VALUE="David Letterman">
<br>2. Provide a 160x200 jpeg called DavidLetterman.jpg
<br>3. Provide a 40x50 jpeg called DavidLettermanBR.jpg </font>
<br></p>
<center><p>
<hr><a href="../index.html"><img src="../images/mantoid.gif" alt="Return to index." border=0 height=109 width=109></a></p></center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -