public void jComboBox1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jComboBox1ActionPerformed
        String itemText = (String)jComboBox1.getSelectedItem( ); 
        if (itemText.equalsIgnoreCase("Farenheit"))
        {
            String tester = itemText;
            TPT test = new TPT();
            test.pack();
            test.setVisible(true);
            this.setVisible(false);
        }
        else {
             
             
        }
        if (itemText.equalsIgnoreCase("Celsius"))
        {
            String tester = itemText;
            TPT test = new TPT();
            test.pack();
            test.setVisible(true);
            this.setVisible(false);
        }
        else {
             
             }
        if (itemText.equalsIgnoreCase("Kelvin"))
        {
            String tester = itemText;
            TPT test = new TPT();
            test.pack();
            test.setVisible(true);
            this.setVisible(false);
        }
        else {
             
             }
    }//GEN-LAST:event_jComboBox1ActionPerformed