I'm coding a java replacement for a legacy Motif GUI. It needs to look and respond exactly the same as the Motif app. I need to create a textfield that will bring up a popup menu when the user clicks in the field with the mouse. I added an actionListener but it only responds to a keyboard enter key, it doesn't respond to mouse clicks. How do I get it to respond to mouse clicks?