KK-NETレンタルサーバーサービス ベスト・レンタルサーバ・サービス
レンタルサーバー サイトマップ
最新情報サービス案内サポート回線状況会社案内求人情報お問合わせ著作権について

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>
<param name=bgcolor value="000000">
<param name=fgcolor1 value="ff0000">
<param name=fgcolor2 value="ff00ff">
</applet>

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:

  • black = 000000
  • blue = 0000ff
  • cyan = 00ffff
  • darkGray = 404040
  • gray = 808080
  • green = 00ff00
  • lightGray = c0c0c0
  • magenta = ff00ff
  • orange = ffc800
  • pink = ffafaf
  • red = ff0000
  • white = ffffff
  • yellow = ffff00
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.


Rachel Gollub
rmg@eng.sun.com
ページの先頭へ
[ サービス案内 : レンタルサーバーVPSプラン比較サーバーハウジングドメイン取得リセラーディスカウント]
[ ユーザーサポート : FAQmini/Lite/150パーソナル10バーチャルサーバー機能拡張CGIライブラリ]
[ ホーム] [ 最新情報] [ 回線情報] [ 会社案内] [ 求人情報] [ お問合わせ] [ 著作権について]
Copyright © 1997-2023 KK-NET. All rights reserved.
All brand names and product names used on these web pages are trademarks, or trade names of their respective holders.
Rental server hosting services provided by sales@kk-net.net
KK-NET レンタルサーバーサービス