Well it's nothing special but might be useful for the one or other visualization.
The component has the following properties:
- direction (SwingUtilities.NORTH(default), EAST, SOUTH, WEST)
- glowColor (java.awt.Color)
- alpha (float 0.0f...1.0f)
- on (boolean)
I created a little demo app that let you play with some of these parameters.
And as always the source and the binary jar:
Source (NetBeans project): LightBulb.zip
Binary jar: LightBulb.jar
Like i said...it's a short post, so keep coding...
No comments:
Post a Comment