title: How do you access the value of a JTextField in JRuby?
body: <p>I want to use the value of the text field to validate the username and password for my GUI. I have tried this code:</p>
  
  <pre><code>If user.Text = "abc" and passwrd.Text = "abc" then
  </code></pre>