|
Replies:
5
-
Last Post:
Aug 30, 2008 4:10 PM
by: fred34
|
|
|
|
|
|
|
ToolTip
Posted:
Aug 29, 2008 2:04 AM
|
|
|
Hi,
What would be the best way to implement a tooltip for some components? I'm looking to display for 2 seconds a tip above the component when the user selects it. Modeless dialog, glasspane or something else?
Thanks
|
|
|
|
|
|
|
Re: ToolTip
Posted:
Aug 29, 2008 5:39 AM
in response to: cozmint
|
|
|
Hi, The best way would be to use glasspane.
Regards, Chen
lwuit-users@mobileandembedded.org wrote: > Hi, > > What would be the best way to implement a tooltip for some components? I'm looking to display for 2 seconds a tip above the component when the user selects it. Modeless dialog, glasspane or something else? > > Thanks > [Message sent by forum member 'cozmint' (cozmint)] > > http://forums.java.net/jive/thread.jspa?messageID=296103 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net > For additional commands, e-mail: users-help@lwuit.dev.java.net > > >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net For additional commands, e-mail: users-help@lwuit.dev.java.net
|
|
|
|
|
|
|
|
|
|
Re: ToolTip
Posted:
Aug 29, 2008 3:22 PM
in response to: cozmint
|
|
|
I'm going to have to ask the obvious question here...what's wrong with the default implementation of JToolTip and the methods in JComponent? They provide precisely the behaviour you're asking for.
|
|
|
|
|
|
|
|
Re: ToolTip
Posted:
Aug 29, 2008 3:55 PM
in response to: fred34
|
|
|
Let's try not to mix LWUIT with Swing.
|
|
|
|
|
|
|
|
Re: ToolTip
Posted:
Aug 30, 2008 4:10 PM
in response to: cozmint
|
|
|
oops, I read the post above and mine and forgot check which forum this was.
|
|
|
|
|