Here are all the code snippets from the demo application: click on their name to see the corresponding source code.
To see them running, download the DJ Swing Suite distribution and launch the demo application (you can also see the source code of the snippets with syntax highlighting in the demo).
Combo buttons are generally found in tool bars, often to offer a list of choices and optionally a default action.
Tri-state check boxes, with advanced capabilities like rolling cycle definition.
Users are generally familiar with links: they are simple, intuitive and generally provide some information through tool tips.
A label that allows text selection and is multiline.
Wide popup combo boxes are a solution to the problem of having content that is too long. Such content generally messes up the user interface layout.
A tree where the user can click in the empty area, and drag the mouse over some nodes to select them. Modifiers (control and shift) can add or exclude to the current selection.
Titled separators are generally more elegant than titled borders and do not require nesting panels.
This is a simple example that shows text and number fields.
How to use validators, formatters and masks to control inputs and improve usability.
A layered icon is an icon that aggregates icons, which can be at any location within their parent icon. Layered icons even support animated images in their composition.
Enable the auto-scroll feature to simplify scrolling: a click with the middle mouse button then moving the mouse directs scrolling (as seen in web browsers).
Auto fit one or all the columns of a table.
Make a text component select its entire text when it receives the focus. This utility takes care of proper selection in certain cases such as inaccurate click (mouse moves during the click).
Convert a simple text with wildcards ('*' and '?', generally entered by the user) to a regular expression that can be used to filter/search.