title: Find column # by column name or header - JTable
body: <p>I want to implement a general validation class for my jtables in different forms to check the qty column , as the qty column No in different tables of different forms is different. For this i want to get the column value by column Name similarly in C# or VB.</p>
  
  <p>My requirement is as follows.</p>
  
  <pre><code> int qty=jtable.getValueAt(rowNo,"columnName");
  </code></pre>
  
  <p>Now i am using </p>
  
  <pre><code> int qty=jtable.getValueAt(rowNo,colNo);
  </code></pre>
  
  <p>Is there any way to find column # by column Name or Header Of JTable?</p>