How can i set a text for a cell in Javaeditor jTable?
<p>I made a Programm to count the letters of a text and now i want to show the results of that in a table but i dont know and cant find any way to "manipulate" these cells!
I have just started Programming a few weeks ago so please describe any answers given :) .</p>

<pre><code>    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.*;

    public class Test extends JFrame {

      private JTable jTable1 = new JTable(28, 2);
        private DefaultTableModel jTable1Model (DefaultTableModel) jTable1.getModel();
        private JScrollPane jTable1ScrollPane = new JScrollPane(jTable1);


      public Test() { 
        super();
        setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
        int frameWidth = 696; 
        int frameHeight = 680;
        setSize(frameWidth, frameHeight);
        Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
        int x = (d.width - getSize().width) / 2;
        int y = (d.height - getSize().height) / 2;
        setLocation(x, y);
        setTitle("Test");
        setResizable(true);
        Container cp = getContentPane();
        cp.setLayout(null);

        jTable1ScrollPane.setBounds(112, 136, 452, 478);
        jTable1.getColumnModel().getColumn(0).setHeaderValue("Letter");
        jTable1.getColumnModel().getColumn(1).setHeaderValue("Count");
        cp.add(jTable1ScrollPane);

        setVisible(true);
      }

      public static void main(String[] args) {
        new Test();
      } 
    } 
</code></pre>