T
tek monk
I need to reset a JLabel's Text and TooTip as time passes in the simplest
and least taxing way.
..
I know for that you would use JLabel's setText(String ...) and
setToolTipText(String ...) methods, but the thing is that I do know, based
on the apps logic, when to call setText, but I don't know when a user is
going to place the mouse over the label
..
I have been thinking about some kind of time listener attached to the
JLabel, but I can't think of an elegant way of doing this.
..
How would you approach the solution to such a problem?
..
Thanks
and least taxing way.
..
I know for that you would use JLabel's setText(String ...) and
setToolTipText(String ...) methods, but the thing is that I do know, based
on the apps logic, when to call setText, but I don't know when a user is
going to place the mouse over the label
..
I have been thinking about some kind of time listener attached to the
JLabel, but I can't think of an elegant way of doing this.
..
How would you approach the solution to such a problem?
..
Thanks