I am having a problem initializing a JTable from a FOR with BD or an array.

My problem is the example tableFilterDemo.java, I need the funcionality of this, 
but when I want load data of my BD or an arraylist I have the problem.

I need load the array of objects with a FOR getting all the lines of file or rows of table

```
private Object[][] data = {
    { "Mary", "Campione", "Snowboarding"},
    { "John", "guifru", "skyiin"},};

```