title: POI 3.17 bold font
body: <p>I'm upgrading from POI 3.15 to 3.17</p>
  
  <p>This code does not compile:</p>
  
  <pre><code>HSSFFont fontTitle = wb.createFont();
  fontTitle.setFontHeightInPoints((short) 12);
  fontTitle.setBoldweight(HSSFFont.BOLDWEIGHT_BOLD);
  </code></pre>
  
  <p>I've changed to:</p>
  
  <pre><code>Font fontTitle = wb.createFont();
  fontTitle.setFontHeightInPoints((short) 12);
  fontTitle.setBoldweight(Font.BOLDWEIGHT_BOLD);
  </code></pre>
  
  <p>but still in error:</p>
  
  <pre><code>/excel/SQL2XLSX17N.java:271: cannot find symbol               
  symbol  : variable BOLDWEIGHT_BOLD                            
  location: interface org.apache.poi.ss.usermodel.Font          
                 fontTitle.setBoldweight(Font.BOLDWEIGHT_BOLD); 
  </code></pre>
  
  <p>How do I use a bold font?</p>