title: DefaultTableModel make cell not editable JTable
body: <p>I have an JAVA project and want to make my JTable with a DefaultTableModel non-editable. I know a work-around to do this, called:</p>
  
  <pre><code>JTable table = new JTable(...){  
    public boolean isCellEditable(int row, int column){  
      return false;  
    }  
  };  
  </code></pre>
  
  <p>Like said: i dont like this. This is not according the rules of my school training.</p>
  
  <p>Is there any way to do this? Maybe is there a good way. I hope so!</p>