For example, each tab in a tabbed pane can have different tool-tip text. The argument is the event that caused the tool tip to be shown. The default return value is null, which tells the Swing system to choose a location. This table shows some examples that use tool tips and where those examples are described. Radio Buttons Uses a tool tip to provide instructions for a button.
Icons Uses a tool tip in a label to provide name and size information for an image.
How to Use Tabbed Panes Uses an argument to the addTab method to specify tool tip text for each tab. Handling Adds tool tips to a table using custom renderers and editors.