1: 2: 3: 4: 5: 6: 7:
JButton knopf= new JButton("Knuddel mich"); add(knopf); String[] columnNames = { "Nr","Ereignis" }; String[][] inhalte={{"",""}}; JTable table = new JTable( inhalte, columnNames ); add( new JScrollPane( table ) );