Im doing a project for my college class that requires me to write an applet that will create and store Employees Objects. I have written an Employee class containing a getName method used to return en employee's name. I have also created a required TreeMap collection (name empObjects) used to store the employee objects that will be made. My problem is, I need to find a statement that will allow me to get an object from my empObjects collection, call the getName method, and place it within a textbox (named empName). I have tried several times but cannot come up with a good solution. I would appreciate any help.
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher