IntelliJ IDEA, a Swing based application, for example, can show a progress indicator on the dock icon when compiling and checkmark when finishes. How can this be done for the dock icon of an SWT application?
IntelliJ IDEA, a Swing based application, for example, can show a progress indicator on
Share
Have a look at the
TaskBarandTaskItemclasses of SWT.It’s basically:
where
displayis the current display andshellis the window associated with the dock icon.There’s also a code snippet for how to access the task bar.