private void buildData(URL[] urls) {
        data = new Object[urls.length][columnNames.length];
        for (int i = 0; i < urls.length; i++) {
            for (int j = 0; j < columnNames.length; j++) {
                switch (j) {
                    case 0:
                        data[i][j] = new Integer(i + 1);
                        break;
                    case 1:
                        data[i][j] = urls[i].getURL();
                        break;
                    case 2:
                        data[i][j] = urls[i].getExtension();
                        break;
                    case 3:
                        data[i][j] = urls[i].getURLType() == URLType.Page;
                        break;
                    case 4:
                        data[i][j] = urls[i].getURLType() == URLType.Document;
                        break;
                    case 5:
                        data[i][j] = urls[i].getURLType() == URLType.Media;
                        break;
                    default:
                }
            }
        }
    }