This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Action metod so that i can get into action  RSS feed

 
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
Boost this thread!