logo       

[ xframe-Bugs-1200282 ] Header tooltips: msg#00043

Subject: [ xframe-Bugs-1200282 ] Header tooltips
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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe