public void editAttributes(DragAndDropClassObject ddClassObject){
		Vector<Object> attributes = new Vector<Object>();
		ImageIcon icon = new ImageIcon("");
		for (String attribute:ddClassObject.classObject.attributes){
			attributes.add(attribute);
		}
		Object[] possibilities = attributes.toArray();
		String s = (String)JOptionPane.showInputDialog(diagramPanel, 
    			"Which attribute to edit?", 
    			"Modify attribute..", 
    			JOptionPane.PLAIN_MESSAGE, 
    			icon, 
    			possibilities, 
    			"");
		String newAttrib = "";
		for (int i = 0; i < ddClassObject.classObject.attributes.size(); i++){
			String attribute = ddClassObject.classObject.attributes.get(i);
			if (s.equals(attribute)){
				newAttrib = JOptionPane.showInputDialog(this.diagramPanel, 
						"Enter a new value for this attribute:", attribute);
				ddClassObject.classObject.attributes.set(i, newAttrib);
			}
		}
		this.diagramPanel.repaint();
	}