Is there any way I can get the keyListener of my main component to pass the return key to the KeyPressed function?
I don't really understand the question - there's nothing special about the return key.. Perhaps some other component is intercepting it?