• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to add an actionlistener

 
Nazer Aboobaker
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
How to add an actionListener to Jlabel object. Any examplet would appreciate?
Thanks
 
Joe Ess
Bartender
Posts: 9361
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't. Here is discussion which gets around to using MouseListener to simulate an ActionListener.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!