Table of Contents
jButton
The jButton control is analogous the .NET WinForm's Button, but has a much more rich appearance, employing jControls' fill, border, shape, corner radii, drop shadow, and text features, along with a few additional features.
PressedAppearance and ReleasedAppearance Properties
The PressedAppearance property describes the appearance of the jButton when it is pressed, and the ReleasedAppearance property describes the appearance of the jButton when it is not pressed.
IsPressed Property
This IsPressed property can be set at design time or runtime to cause the button to press or release respectively. It can be read at runtime to inspect whether or not the button is pressed or released. The IsPressed property returns true when the button is pressed, and false when the button is released.
Use this property at design time to style the jButton's pressed and released appearances without having to run the program to verify.
IsPressedChanged Event
The IsPressedChanged event is fired any time the IsPressed property is changed. It can be used at runtime to notify another part of the program any time the button is pressed or released.
Latch Property
The Latch property can be used to cause the button to remain in a pressed state until the button is pressed a second time, thus implementing a toggle button.

