![]() ![]() ![]() |
This Java Series Is Brought To you By YOA and @SunSystems.
The clock applet now has three parameters; the background color (bgcolor), the main foreground color (the hands and dial) (fgcolor1) and the secondary foreground color (the seconds hand and numbers) (fgcolor2). These three parameters are hexadecimal RGB numbers (like the ones used for the body bgcolor tag in HTML). For example: <applet code="Clock2.class" width=170 height=150> would give you a black background, a red dial and hands, and purple numbers. For those who don't convert to hexadecimal easily, here are some common values:
The source for JDK1.0.2 API. (If you don't know which one to take, take this one.)The source for JDK1.1 API. BACK HOME GO TO JAVA Rachel Gollub rmg@eng.sun.com |
|
![]() ![]() |
||
![]() |
![]() |
![]() |
| SHOCKWAVE | ANIMATED | Pegas-@CAD |
This Page Desined & Maintained By Youth @1998/2000 LSYF/YOA.