User Tools

Site Tools



Highlights and Gloss

Many of the jControls have additional properties to introduce lighting effects, namely Highlight and Gloss. Gloss is unique to fills, but Highlight can be applied to fills, strokes, and borders.

Highlight Property

The Highlight property adds the effect of a light reflecting off of the top edge of the control (Top), off the bottom edge of the control (Bottom), or no reflection at all (None). Used creatively it can add the appearance of depth to the control. For example, using Top for a jButton's ReleasedAppearance and Bottom for the jButton's PressedAppearance can create the effect of a button moving inward when pressed.

Gloss Property

The Gloss property creates the appearance of a glossy finish.

jcontrols_cf35/highlights_and_gloss.txt · Last modified: 2016/11/07 16:13 by COMFILE Technology