This content has been marked as final. Show 4 replies
What have you tried to trace this problem?
try putting a System.out.println("what ever...") in your actionPerformed method to see if it's firing for you.
no actionperformed() is not calling on click. its not doing anything.
You're trying to be too tricky: dynamically linking to an Action Listener. When you compile the object ref = null and later you assign it to your dragged object--Nope, not going to work in the way you think it does. At the time of compile your ref object is null.