Define 'not working'. Have you added println debug statements to see if they are getting called? Best to read post #2 again, in particular the link to the page describing what an SSCCE is.