|
-
Mar 17th, 2006, 05:09 AM
#8
Re: Different between actionPerformed and mouseClicked event
 Originally Posted by System_Error
I can't say this is true, but maybe it depends on the order in which you added? I mean, if you add the actionlistener first, then the actionperformed may execute first. If you add the mouselistener first, then the mouseclicked may execute first. That's just my guess, but I could very well be wrong.
No, they won't, this is not C or C++
ActionListener and MouseListener are eventHandlers, they fire when an event occurs not according to who came first, or who is faster!
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|