Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #1885 > unrolled thread
| Started by | "off by one" <off.by.one@THRWHITE.remove-dii-this> |
|---|---|
| First post | 2011-04-27 15:35 +0000 |
| Last post | 2011-04-27 15:35 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.java.gui
Tool Text Tip display tim "off by one" <off.by.one@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
Re: Tool Text Tip display "Jason Teagle" <jason.teagle@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
| From | "off by one" <off.by.one@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:35 +0000 |
| Subject | Tool Text Tip display tim |
| Message-ID | <1182645085.346595.300910@e9g2000prf.googlegroups.com> |
To: comp.lang.java.gui When I mouse over a swing component that has a tool text tip it displays but only for a limited time. I want it to display for as long as the mouse is over it. Can this display time be changed? --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [next] | [standalone]
| From | "Jason Teagle" <jason.teagle@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:35 +0000 |
| Subject | Re: Tool Text Tip display |
| Message-ID | <r1qfi.1200$KE1.1074@newsfe1-win.ntli.net> |
| In reply to | #1885 |
To: comp.lang.java.gui "off by one" <epicwinter@hotmail.com> wrote in message news:1182645085.346595.300910@e9g2000prf.googlegroups.com... > When I mouse over a swing component that has a tool text tip it > displays but only for a limited time. I want it to display for as > long as the mouse is over it. Can this display time be changed? Yes it can. Take a look at the ToolTipManager class - and the static sharedInstance() method for obtaining the tooltip manager object so that you can make those changes. Bear in mind that this will affect *all* tooltips in your app - if you need this behaviour change on just one or two components, an alternative might be to try and extend JToolTip and override JComponent.createToolTip() to return your extended class. -- Jason Teagle jason@teagster.co.uk --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.gui
csiph-web