private void filter() {
        if(model != null) {            
            if(jCheckBoxCrossPrice.isSelected() && jCheckBoxNFPrice.isSelected()) {
                sorter.setRowFilter(null);
            } else if(jCheckBoxCrossPrice.isSelected() && !jCheckBoxNFPrice.isSelected()) {
                sorter.setRowFilter(RowFilter.numberFilter(RowFilter.ComparisonType.EQUAL, 0, 0));
            } else if(!jCheckBoxCrossPrice.isSelected() && jCheckBoxNFPrice.isSelected()) {
                sorter.setRowFilter(RowFilter.numberFilter(RowFilter.ComparisonType.EQUAL, 1, 0));
            } else {
                sorter.setRowFilter(RowFilter.andFilter(Arrays.asList(RowFilter.numberFilter(RowFilter.ComparisonType.NOT_EQUAL, 0, 0), RowFilter.numberFilter(RowFilter.ComparisonType.NOT_EQUAL, 1, 0))));
            }
        } else {
            jCheckBoxCrossPrice.setSelected(true);
            jCheckBoxNFPrice.setSelected(true);
        }
    }