• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Action metod so that i can get into action

 
Kajol Shroff
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I wanted to know the difference between:
pulic void actionPerformed( ActionEvent e)
{
}
and
public boolean action (Event evt, Object arg)
{
return true;
}
All what I know is that the first method is a non-depricated method for 1.2 and the second is the depricated as it gives me warning when I compile it.
Thanks in advance
I need to know some more on this...
Kajol
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a complete discription of the two event models:
http://developer.java.sun.com/developer/technicalArticles//GUI/Transition/index.html
 
Kajol Shroff
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Cindy,
Thanks for ur reply..........
That was really helpfull
Kajol
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic