Disable EnterKey action for JTextArea

If someone types something in a JTextArea and presses Enter key, then cursor goes down (Starts a new line). What I want is to disable that action and cursor should be as it is without moving to a new line when user presses the enter key.