Add ToolTip to Shell Window : ToolTip « SWT « Java Tutorial

import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;

public class ShellWindowToolTip {
  public static void main(String[] args) {
    Display display = new Display();
    Shell shell = new Shell(display);

    shell.setToolTipText ("Shell \n toolTip");;
    while (!shell.isDisposed()) {
      if (!display.readAndDispatch())

17.73.1.Add ToolTip to Shell Window
17.73.2.Add ToolTip to ToolItemAdd ToolTip to ToolItem
17.73.3.Add ToolTip to TabItem
17.73.4.Create fake tool tips for items in a tableCreate fake tool tips for items in a table
17.73.5.Show a tool tip inside a rectangleShow a tool tip inside a rectangle