• Post Reply Bookmark Topic Watch Topic
  • New Topic

classes which have refrences to the same object which has a mouse listener

 
Nikos Stavros
Ranch Hand
Posts: 243
Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have 2 classes which have refrences to the same object which has a mouse listener. if both classes have a mouseReleased method,
what class calls the mouseReleased method first
 
Paul Clapham
Sheriff
Posts: 21862
36
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have no way of predicting that. If it's important in your design then you shouldn't have the logic separated into two different places.
 
Nikos Stavros
Ranch Hand
Posts: 243
Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok thanks, i'll remember that for the future
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!