private TableDataModel createTableModel() {
		String[][] data = new String[][]{
			new String[]{"Row 1", "Row 1"},
			new String[]{"Row 2", "Row 2"},
			new String[]{"Row 3", "Row 3"}
		};

		return new SimpleTableDataModel(data);
	}
private TableDataModel createTableModel ( ) { String [ ] [ ] data = new String [ ] [ ] { new String [ ] { "Row 1" , "Row 1" } , new String [ ] { "Row 2" , "Row 2" } , new String [ ] { "Row 3" , "Row 3" } } ; return new SimpleTableDataModel ( data ) ; }
Creates a simple table data model containing some dummy data.

@return a new data model.