int selectedDegree = (int) _dfDegree.getSelectedIndex();
String selectedDegree = (String) _dfDegree.getSelectedItem();
	private void _doFilterActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event__doFilterActionPerformed		if(_g == null) {			return;		}				Object [] fargs = new Object[2];		Vertex selectedVertex = (Vertex) _dfVertices.getSelectedItem();		int selectedDegree = (int) _dfDegree.getSelectedIndex();		Integer degree = null;		try {			// degree = Integer.valueOf(selectedDegree.substring(0, 1));			degree = new Integer(selectedDegree + 1);		} catch (NumberFormatException exception) {			// show all nodes			degree = new Integer(-1);		}		fargs[0] = selectedVertex;		fargs[1] = degree;		_ctl.setFilter(_ctl.getDegreeFilter());		_ctl.runFilter(fargs, true);	}//GEN-LAST:event__doFilterActionPerformed