Is the listener added to the button? Add a println() that prints a message in the listener so you can see if it is called.
BTW the reference from getSource() does not need to be cast to compare...
Type: Posts; User: Norm
Is the listener added to the button? Add a println() that prints a message in the listener so you can see if it is called.
BTW the reference from getSource() does not need to be cast to compare...