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