I am trying to create a class that populates a combobox with an object for instance country with fields like (name, city, area, population etc). I want the user to use a data entry form to enter the details but ones they have been saved, he can load details of different countries using the combo box navigation. My problem is that I am not able to listen to the combobox changes so that I can repaint the screeen.
How should my action listener be written so that I can access the attributes of the object country by selecting the name. The graphic class is different from the logical one.
Please help!!! I am new to java