Loader
Implementation: AnimatedIcon.Default
A loader informs users about performing a lengthy operation.
Follow the rules for progress indicators.
The loader form and sizes are the same in all themes. Use the default 16x16 loader in all cases.
Kotlin
Java
JLabel(
"Loading...",
AnimatedIcon.Default(),
SwingConstants.LEFT
)
new JLabel(
"Loading...",
new AnimatedIcon.Default(),
SwingConstants.LEFT
);
A loader may have a label if the process is long and the loader is shown in an empty area. In this case, use a progress text as the label:

Remove the loader as soon as the process completes.
Inside a field | ![]() |
| |
In a corner | ![]() |
Next to an item | ![]() |
Before a progress text | ![]() |