ok, so heres what i have...
i just need to know what line of code i would need to use if i wanted to parse that to an integer...Code:Comparable nodeInput = JOptionPane.showInputDialog(null);
i have tried the following...
the error i get is that my IDE says that the symbol method parseInt could not be found...Code:tree.insert(new Integer(Integer.parseInt(nodeInput)));
thanks for any help in advance.




Reply With Quote