i was surprised, but in fact couldnt find any answer to my Q: how can i be notified when a JLabel's text change?
TiA
java amateur
Michael Dunn
Ranch Hand
Joined: Jun 09, 2003
Posts: 4632
posted
0
miguel lisboa
Ranch Hand
Joined: Feb 08, 2004
Posts: 1281
posted
0
no one will claim that wasnt notified
before posting my Q i stood twice at API: addPropertyChangeListener, but gave up since couldnt find any 'text' property i missed the fact that could exist others:
The listener is registered for all bound properties of this class, including the following:
my actual interpretation is the following: JLabel is a bean, 'text' is also a bound property so ...
thanks a lot Michael
EDITED: i cant post the direct link to 'addPropertyChangeListener' because of javaRanch html code policies [ June 27, 2005: Message edited by: miguel lisboa ]