Thanks Watfor, for your reply, however, I'm afraid to miss something (certainly because I'm not skilled enough in Java).
I haven't found the getLIstCellRenderer(...) method of ListCellRenderer, but only getLIstCellRendererComponent(...).Even if it was the method name you wanted to tell about, I do not know how to get the JList item text (or index) on which the mouse is located and then set the ToolTipText.If you have a sample to share, I would really appreciate.
Thanks again
Gege
JList list = new JList() {
public String getToolTipText(MouseEvent e) {
int row = locationToIndex(e.getPoint());
return getModel().getElementAt(row).toString();
}
};