[Menu]>[Java Programming]>[Production samples by JDK1.0]


Shining letters Applet






This applet is the applet that moves the color of the letter to the right from 1 character each left.
( If you see it you understand. )

The point of this applet is to use object( FontMetrics ) that obtains the exact position of the letter.
It can get the position of the letter where color differs precisely.
Also, the equals method is being used to do the comparison of the input letter.

The function is as follows.

The change speed of the color is possible designated.
The color of the background is possible designated.
The letter color of the base is possible designated.
The color of the letter that changes is possible designated.
The font of the letter is possible designated.
The size of the letter is possible designated.
The style of the letter is possible designated.

The size of ShinLetter.class becames 4.38KB.

Designated method in HTML

Source program list


The display position has deviated in Netscape Navigator 3.0.
There is the phenomenon that the letter of the top is not displayed in IE3.02J.
( It is displaying normally in my PC )
It may be why?
It was OK in IE4.0, NN4.0.( Now )



The source program list can utilize by copying to notepad etc.

Copy method