views:

44

answers:

2

I have a JTable displays the event accordingly, I want to do like when mouse over the table cell will pop out a small box show the event details. Something like tooltip how can i do that? is there any component in swing doing that?

+3  A: 

Have a read about How to Use Tables: Specifying Tool Tips for Cells.

Jonas
I was thinking the jtooltip can only show few line?
Use HTML and you can show anything
eugener
+1  A: 

Use JToolTip and HTML. More info here:

http://java.sun.com/docs/books/tutorial/uiswing/components/html.html

eugener