posted 15 years ago
Hi guys,
I please need your help with a few issues that I have with this Mini Telephone Directory program.
Firstly I would like to know if is it possible to convert a TreeMap into an array?
The reason why I'm asking this is because I've used a TreeMap to store the names(as keys) and the numbers(as values),
According to my assignment specs I have to: " * Use a JTable inside a JScrollPane to show all the name-number pairs. "
I've created a new class called myTable and this is what it looks like so far:
I'm not sure if what I've done so far is correct as well as what code I should add at line 21 and line 24, could you please help me out on this one?
Here is all my code I did so far for this program:
Thank you very much
P.S. - Any other hints or tips are also welcome
Regards