title: Closing a JDialog by hitting the "enter" on keyboard
body: <p>I want to close my JDialog by hitting the "enter" key on my keyboard. how can I do that? thank you!
  NOTE:
  I want to do this, without any button involved.
  THank you!</p>