|
Question:
I want to display html tooltip for cell in JTableIs it possible to display html tooltip from cell in JTable? What should I implement to achieve this.
In JTable there is method:
which uses tooltip from your renderer component. You can implement getToolTipText for your renderer component: If you use DefaultTableCellRenderer you can just set the tooltip directly in the method getTableCellRendererComponent: In order tooltip to be rendered as html you should include <html> in the beginning and </html> at the end of tooltip but you can use only very limited features of HTML in the tooltip. Vote:
Please vote! Your opinion matters!
If you haven't found what you've looking for, post a question
|
|