[ xframe-Bugs-1200282 ] Header tooltips

"SourceForge.net" <[email protected]> Fri, 20 May 2005 15:00:23 -0700
Newsgroups gmane.text.xml.xframe.xsddoc
Message-ID <[email protected]>
Bugs item #1200282, was opened at 2005-05-11 19:33
Message generated for change (Comment added) made by inaquimj
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=454391&aid=1200282&group_id=48863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: JXTable
Group: swing
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Iñaqui Medina (inaquimj)
Assigned to: Kurt Riede (kriede)
Summary: Header tooltips

Initial Comment:
Question:

If I use JXTableHeader.addColumnGroup...

how can I set tooltips for the columns and the group?

----------------------------------------------------------------------

>Comment By: Iñaqui Medina (inaquimj)
Date: 2005-05-20 17:00

Message:
Logged In: YES 
user_id=1086927

I tested the second way (overriding getTooltip) and it seems 
to work but:

1. There's no easy way to set the tooltip for the header group 
(it would be nice to have a Group.setToolTip method).
2. In the output I get a lot of ugly lines like:
getToolTipText300, 0
getToolTipText75, 264
getToolTipText386, 195
getToolTipText388, 216
getToolTipText77, 266
getToolTipText396, 8
getToolTipText390, 218
getToolTipText9, 336
getToolTipText422, 345
getToolTipText75, 287
getToolTipText388, 153

Followed by a stack overflow exception.


----------------------------------------------------------------------

Comment By: Kurt Riede (kriede)
Date: 2005-05-18 19:11

Message:
Logged In: YES 
user_id=484961

Fix available in CVS.

There are also two samples that show the two common ways 
to activate tool tips:

1.add a MouseMotionListener to the header

2. Subclass the header JXTableHeader and overwrite the 
method getToolTipText(e)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=454391&aid=1200282&group_id=48863


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click