A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
Joined: Nov 22, 2008
Aug 02, 2000 01:07:00
If label is a Component how can I implement Component listener for label?
Joined: Jun 21, 2000
Aug 04, 2000 04:50:00
label is the only component that does not generate an event. think about it. why would you want to generate an event from a label?
Joined: Jun 03, 2000
Aug 04, 2000 11:20:00
All AWT component can generate the following five events as all of them are associated with a component.
You can double check at maha's new home, there is a link for a chart which shows a table between events and components.
Feel free to correct me.
[This message has been edited by Vivek Shrivastava (edited August 04, 2000).]
It is sorta covered in the
JavaRanch Style Guide
Can't bind JComponent location to Jlabel text property
JtableHeader with two separate listeners, one for each component : classic label and extra checkbox
how to read the label name for a component
Link URL through applet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015