![]() |
Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
I want to do several different functions with several Labels in my program. I added mouse listener's to each one of them writing disCard.addMouseListener(this); What I want to do is when the mouse enters only a certain object do a manipulation on only that object (userCard1, and userCard2). It seems I will have to make an if statement, but how will I do that? I can't write if(userCard.MouseEntered(this)) How do I get the MouseEntered method to recognize exactly which object it has entered, and be able to differentiate so that I can do specific operations on different objects? Thank you for any help, -Zach Keatts Replies:
|
Sponsored Links
|