Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #3116 > unrolled thread
| Started by | "Stanimir Stamenkov" <stanimir.stamenkov@THRWHITE.remove-dii-this> |
|---|---|
| First post | 2011-04-27 15:43 +0000 |
| Last post | 2011-04-27 15:43 +0000 |
| Articles | 5 — 3 participants |
Back to article view | Back to comp.lang.java.gui
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Problem on getMouseTo "Stanimir Stamenkov" <stanimir.stamenkov@THRWHITE.remove-dii-this> - 2011-04-27 15:43 +0000
Re: Problem on getMouseTo "daf" <daf@THRWHITE.remove-dii-this> - 2011-04-27 15:43 +0000
Re: Problem on getMouseTo "Daniel Pitts" <daniel.pitts@THRWHITE.remove-dii-this> - 2011-04-27 15:43 +0000
Re: Problem on getMouseTo "daf" <daf@THRWHITE.remove-dii-this> - 2011-04-27 15:43 +0000
Re: Problem on getMouseTo "Daniel Pitts" <daniel.pitts@THRWHITE.remove-dii-this> - 2011-04-27 15:43 +0000
| From | "Stanimir Stamenkov" <stanimir.stamenkov@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:43 +0000 |
| Subject | Re: Problem on getMouseTo |
| Message-ID | <foeh94$f6v$1@registered.motzarella.org> |
To: comp.lang.java.gui 07.02.2008 10:52, /daf/: > On 24 jan, 09:39, daf <davfranc...@gmail.com> wrote: > >> I have a JPanel, call it panel1, which is composed of an other JPanel >> panel2. >> panel2 is a final class of librarie I need. >> >> The problem is, I need to override the getToolTipText of panel2 or it >> is impossible (class is final), so how can I set the ToolTipText of >> panel2 by "catching" event with my panel1 ? > > No one can help me ? Does using setToolTipText(String) help? <http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JComponent.html#setToolTipText(java.lang.String)> -- Stanimir --- * 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 | "daf" <daf@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:43 +0000 |
| Message-ID | <5c63bc47-cf1a-47a0-95dd-2953067c36a6@d4g2000prg.googlegroups.com> |
| In reply to | #3116 |
To: comp.lang.java.gui On 7 f=E9v, 09:59, Stanimir Stamenkov <s7a...@netscape.net> wrote: > 07.02.2008 10:52, /daf/: > > > On 24 jan, 09:39, daf <davfranc...@gmail.com> wrote: > > >> I have a JPanel, call it panel1, which is composed of an other JPanel > >> panel2. > >> panel2 is a final class of librarie I need. > > >> The problem is, I need to override the getToolTipText of panel2 or it > >> is impossible (class is final), so how can I set the ToolTipText of > >> panel2 by "catching" event with my panel1 ? > > > No one can help me ? > > Does using setToolTipText(String) help? > > <http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JComponent.html#s...)= > > > -- > Stanimir No, Because the getToolTipText method is never call. The only solution I find, it's to catch mouseMove event and setToolTipText manually. That is work, but I would like to have a better solution, because this one can reduce performances of our application. --- * 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] | [next] | [standalone]
| From | "Daniel Pitts" <daniel.pitts@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:43 +0000 |
| Message-ID | <47ab44a4$0$32560$7836cce5@newsrazor.net> |
| In reply to | #3118 |
To: comp.lang.java.gui daf wrote: > On 7 fov, 09:59, Stanimir Stamenkov <s7a...@netscape.net> wrote: >> 07.02.2008 10:52, /daf/: >> >>> On 24 jan, 09:39, daf <davfranc...@gmail.com> wrote: >>>> I have a JPanel, call it panel1, which is composed of an other JPanel >>>> panel2. >>>> panel2 is a final class of librarie I need. >>>> The problem is, I need to override the getToolTipText of panel2 or it >>>> is impossible (class is final), so how can I set the ToolTipText of >>>> panel2 by "catching" event with my panel1 ? >>> No one can help me ? >> Does using setToolTipText(String) help? >> >> <http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JComponent.html#s...)> >> >> -- >> Stanimir > > No, > Because the getToolTipText method is never call. > The only solution I find, it's to catch mouseMove event and > setToolTipText manually. > That is work, but I would like to have a better solution, because this > one can reduce performances of our application. Actually, that is how tooltips work. -- Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/> --- * 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] | [next] | [standalone]
| From | "daf" <daf@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:43 +0000 |
| Message-ID | <4fbf280e-db55-42c3-9842-9d32401fb4af@i29g2000prf.googlegroups.com> |
| In reply to | #3126 |
To: comp.lang.java.gui
On 7 f=E9v, 18:49, Daniel Pitts
<newsgroup.spamfil...@virtualinfinity.net> wrote:
> daf wrote:
> > On 7 f=E9v, 09:59, Stanimir Stamenkov <s7a...@netscape.net> wrote:
> >> 07.02.2008 10:52, /daf/:
>
> >>> On 24 jan, 09:39, daf <davfranc...@gmail.com> wrote:
> >>>> I have a JPanel, call it panel1, which is composed of an other JPanel=
> >>>> panel2.
> >>>> panel2 is a final class of librarie I need.
> >>>> The problem is, I need to override the getToolTipText of panel2 or it=
> >>>> is impossible (class is final), so how can I set the ToolTipText of
> >>>> panel2 by "catching" event with my panel1 ?
> >>> No one can help me ?
> >> Does using setToolTipText(String) help?
>
> >> <http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JComponent.html#s.=
..)>
>
> >> --
> >> Stanimir
>
> > No,
> > Because the getToolTipText method is never call.
> > The only solution I find, it's to catch mouseMove event and
> > setToolTipText manually.
> > That is work, but I would like to have a better solution, because this
> > one can reduce performances of our application.
>
> Actually, that is how tooltips work.
>
> --
> Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>
Hi,
When I initialize my panel I do a setToolTip("");
But the getToolTip of my children is not called by the system
---
* 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] | [next] | [standalone]
| From | "Daniel Pitts" <daniel.pitts@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:43 +0000 |
| Message-ID | <47b069ab$0$32512$7836cce5@newsrazor.net> |
| In reply to | #3136 |
To: comp.lang.java.gui
daf wrote:
> On 7 fov, 18:49, Daniel Pitts
> <newsgroup.spamfil...@virtualinfinity.net> wrote:
>> daf wrote:
>>> On 7 fov, 09:59, Stanimir Stamenkov <s7a...@netscape.net> wrote:
>>>> 07.02.2008 10:52, /daf/:
>>>>> On 24 jan, 09:39, daf <davfranc...@gmail.com> wrote:
>>>>>> I have a JPanel, call it panel1, which is composed of an other JPanel
>>>>>> panel2.
>>>>>> panel2 is a final class of librarie I need.
>>>>>> The problem is, I need to override the getToolTipText of panel2 or it
>>>>>> is impossible (class is final), so how can I set the ToolTipText of
>>>>>> panel2 by "catching" event with my panel1 ?
>>>>> No one can help me ?
>>>> Does using setToolTipText(String) help?
>>>> <http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JComponent.html#s....)>
>>>> --
>>>> Stanimir
>>> No,
>>> Because the getToolTipText method is never call.
>>> The only solution I find, it's to catch mouseMove event and
>>> setToolTipText manually.
>>> That is work, but I would like to have a better solution, because this
>>> one can reduce performances of our application.
>> Actually, that is how tooltips work.
>>
>> --
>> Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>
>
> Hi,
>
> When I initialize my panel I do a setToolTip("");
> But the getToolTip of my children is not called by the system
getToolTip isn't used most of the time. the code in setToolTip fires an
event that notifies Swing that it should do a pop-up.
--
Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>
---
* 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