The Hover Help example shows how to implement custom tooltips and hover help support on various SWT controls including Buttons, TableItems, ToolItems and TreeItems. To see the custom tooltips in action, hover over an item or button in the UI, and notice that images appear in the left-hand corner of the tooltip. To see the custom hover help in action, hover over an item or button in the UI until the tooltip is displayed. Then, without moving the mouse, press F1 and a new Shell will be shown with the extended hover help information for the UI element.
Follow the SWT standalone examples setup instructions to install and run the example from your workspace.
The "Main" class is
This example can also be run using the Example Launcher. Select the Hover Help item from the Standalone category and click Run.