Originally posted by Marilyn de Queiroz:
It seemed to work just fine for me -- unless it threw an Exception.
Wait, you mean that what I sent you worked fine for you on your machine? It compile and displayed properly? If that is the case then my stuff is fubar.
[EDIT]Okay, so I think I am making progress. I actually get a null on the screen now when I run the program. Not big success, but hey I am glad its just printing something. Marilyn, you said to populate the HashMap directly without an algorithm. Did you mean
[EDIT Again] So I verified that the HashMap was being populated correctly by printing out myHashMap.entrySet() but I continued to get a null being printed after that. Then I figured out what the problem was. In my main, I have a try/catch and using the ex.message I was getting a null. I change it to "I should be getting a Message here" and it shows up. So I am getting a exception, but with a null message. So how am I suppose to fix something when it doesn't tell me whats wrong? ex.printStackTrace();
[ April 07, 2007: Message edited by: Tony VanHorn ]