title: How to create a simple Java form with Swing?
body: <p>I'm very new to swing and have trouble dealing with <code>JFrame</code>s so I thought you guys could help.</p>
  
  <p>I'm trying to make a simple window show up with 3 text fields and a check box. At the bottom there should be a "done" button which closes the form.</p>
  
  <p>I can make the <code>JFrame</code> with the <code>JTextField</code>s and <code>JCheckBox</code> but how do I retrieve the input?</p>
  
  <p>Thanks in advance</p>