title: If equals doubles statement check
body: <p>New to java, making a personal calculation program. Is there anyway to change the if(Block.equals("Furnace")) to include a check for "furnace". I tried setting "Block" to lower case, but it just breaks and doesn't calculate for either "Furnace" or "furnace".</p>
  
  <p>Block is a text-field that the user enters into (either Furnace, or furnace), then if Block = "Furnace" or "furnace". Should I use an array to check where if it is something listed in the array, it performs the equation?</p>
  
  <pre><code>    private void CalculateCraftButtonActionPerformed(ActionEvent e)
      {
  
          double BToMake = 0;
          double TotalCraft = 0;
  
          String Block = BlockToCraft.getText();
          if(Block.equals("Furnace"))
          {
              BToMake = Double.valueOf(QuantityCraftField.getText()).doubleValue();
  
              double Furnace = 8;
              double furnace = 8; 
  
  
              TotalCraft = Furnace * BToMake;
              TotalCraft = furnace * BToMake;
  
              TotalCraftField.setText(String.valueOf(TotalCraft));
          }
  </code></pre>