Tool Tips
Tool tips can be added to any JComponent. They are short descriptive strings that pop up automatically when the cursor pauses over an item.
Just apply the setToolTipText() method to the component, e.g.:
redButton.setToolTipText(“Set red background”) ;