Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

about event and actionlistener  RSS feed

 
numan ahmad
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hay to all..i am new in java and learning swing ,awt library ....i want to know that what is the purpose of event and actoinlistenere in swing library ....please reply me as soon as possible
thanks in advance
 
numan ahmad
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
come on gays please help me i am stack of that......
 
Rob Spoor
Sheriff
Posts: 20904
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EaseUp. PatienceIsAVirtue.

In Swing and AWT, the framework generates events when you click a button, resize a frame, etc. It doesn't know what to do when such events are generated. It allows you to tell it what to do by letting you add listeners for the specific events. Read http://download.oracle.com/javase/tutorial/uiswing/events/index.html for more information.
 
Campbell Ritchie
Sheriff
Posts: 53779
128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
... and careful about spelling; what I read is probably different from what you intended because of spelling errors.
 
numan ahmad
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hmmmm okay thanks a lot i will be careful next time
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!