title: How do I get my radio buttons to set data in a text field?
body: <p>Can't get these radio buttons to work. I'd like them to set two text fields upon choosing one button. What am I missing?</p>
  
  <p>Also, why isn't my code posting to this forum correctly?</p>
  
  <pre><code>//import all needed functionality
  import javax.swing.*;
  
  import java.awt.*;
  import java.awt.event.ActionEvent;
  import java.awt.event.ActionListener;
  import java.text.*;
  </code></pre>