private DataFilter getType(JComboBox<String> filter) {
    	if (filter.getSelectedItem() == null)
    		return DataFilter.NONE;
    	String name = (String)filter.getSelectedItem();
    	if ("<".equals(name))
    		return DataFilter.LESS;
    	if ("<=".equals(name))
    		return DataFilter.LESS_EQUAL;
    	if ("=".equals(name))
    		return DataFilter.EQUAL;
    	if (">=".equals(name))
    		return DataFilter.GREATER_EQUAL;
    	if (">".equals(name))
    		return DataFilter.GREATER;
    	return DataFilter.NONE;
    }