package br.unisinos.lab2.mindmap;

public final class MindMapTool {
	public static void main(String[] args) {
		MindMap<String> mm = new MindMap<String>("Root", "descricao");
            
            
            
	}

}

@@ -28,16 +28,83 @@
 ndmap;%0A%0A
+import java.text.ParseException;%0A%0Aimport javax.swing.JOptionPane;%0A%0A
 public f
@@ -184,62 +184,888 @@
 Map%3C
-String%3E mm = new MindMap%3CString%3E(%22Root%22, %22descricao%22);
+MindMapInfo%3E reg = new MindMap%3CMindMapInfo%3E(new MindMapInfo(%22Root%22));%0A        int controle = 7;%0A        while(controle!=0) %7B%0A        %09try %7B%0A%09        %09controle = Integer.parseInt(JOptionPane.showInputDialog(%22selecione a op%C3%A7%C3%A3o: %5Cn%22%0A%09        %09%09%09+ %221. Inserir nodo filho %5Cn%22%0A%09        %09%09%09+ %222. Pesquisar%5Cn%22%0A%09        %09%09%09+ %223. Remover%5Cn%22%0A%09        %09%09%09+ %224. Gravar%5Cn%22%0A%09        %09%09%09+ %225. Carregar%5Cn%22%0A%09        %09%09%09+ %220. Sair%22));%0A        %09%7D catch (NumberFormatException n) %7B%0A        %09%09JOptionPane.showMessageDialog(null, %22escreva um n%C3%BAmero v%C3%A1lido%22);%0A        %09%09controle = -1;%0A        %09%7D%0A        %09switch (controle) %7B%0A        %09case 0:%0A        %09%09break;%0A        %09case 1:%0A        %09%09%0A        %09%09break;%0A        %09case 2:%0A        %09%09%0A        %09%09break;%0A        %09case 3:%0A        %09%09%0A        %09%09break;%0A        %09case 4:%0A        %09%09%0A        %09%09break;%0A        %09case 5:%0A        %09%09%0A        %09%09break;%0A        %09%7D%0A        %7D
 %0A   

create initial main method