title: Java: JOptionPane Radio Buttons
body: <p>I'm working on a simple program to help me calculate stuff for mixing eLiquid. I am trying to add radio buttons within JOptionPane.showInputDialog but I can't link them together. When I run the program, nothing comes up. This is all I have:</p>
  
  <pre><code>JRadioButton nicSelect = new JRadioButton("What is the target Nicotine level? ");
          JRadioButton b1 = new JRadioButton("0");
          JRadioButton b2 = new JRadioButton("3");
          JRadioButton b3 = new JRadioButton("6");
          JRadioButton b4 = new JRadioButton("12");
          JRadioButton b5 = new JRadioButton("18");
          JRadioButton b6 = new JRadioButton("24");
  </code></pre>