m*****e 发帖数: 126 | 1
If the text you want to display is related to the component,
such as a description of the component, you can use JToolTip.
Otherwise, I think you can use the 'glass pane' to paint anything
you want. Following is taken from 'java tutorial':
The glass pane
Hidden, by default. If you make the glass pane visible,
then it's like a sheet of glass over all the other
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
parts of the root pane. It's completely transpar |
|