title: Bring a Tab held within a JTabbedPane to the front?
body: <p>So, my question is: When select the "Perimeter" from the JComboBox, how would I go about making so that tab(held within the JTabbedPane) comes to the front? and likewise with area or other Tabs.</p>
  
  <pre><code>    private void jComboBox1ActionPerformed(java.awt.event.ActionEvent evt) {                                           
      String selectedItem = jComboBox1.getSelectedItem().toString();
  
      if(selectedItem != null)
      {
          //if perimeter option selected, show the tab for it
          if(selectedItem.equals("Perimeter"))
          {
              //bring the permeter tab to the front, all contained within a tabbedPane
          }
  
          if(selectedItem.equals("Area"))
          {
              //bring the area tab to the front, all contained within a tabbedPane
          }
      }
  } 
  </code></pre>