title: How to increase width of column of table in word file by JAVA
body: <p>I working on a small project where I am creating word file by Java and enter some detail in this word file.
  I am able to create word file and also able to enter data into it. I also write a table into word file and enter some details.</p>
  
  <p><strong>Now what I want, I want to increase width of specific column.</strong></p>
  
  <p>Is there any way to do this? I am using Apache POI drivers for creating word file and writing data into it. </p>
  
  <p>I am using below code:</p>
  
  <pre><code>XWPFDocument document= new XWPFDocument();
  try{
  FileOutputStream out = new FileOutputStream(
  new File("d:\\createparagraph.docx"));
  
   XWPFParagraph paragraph = document.createParagraph();
       XWPFTable table = document.createTable();
       XWPFTableRow tableRowOne = table.getRow(0);
       tableRowOne.getCell(0).setText("CLientID");   
       tableRowOne.addNewTableCell().setText(txtCID.getText());
    //create second row
      XWPFTableRow tableRow2 = table.createRow();
      tableRow2.getCell(0).setText("AccountID");
      tableRow2.getCell(1).setText(txtAID.getText());
  document.write(out);
  out.close();
   }
  </code></pre>
  
  <p>This code working fine and generate normal table but I want to increase width of  specific column (Column 2).</p>
  
  <p>Please help. </p>