Hey guys I have a problem with jcombobox
I have 2 objects
client and property
the client object add a client in the system and the new client is allocated an id
the property object add a property in the system but it is strickly connected with the client because the client own the property.
Now when the user adds a property he is asked to select the client from a combobox. everything ok so far. when i add a new client in the system and then i try to add a new property i cannot find the client that i have added in the combo box.
what i want to do is to refresh the combobox in the property object everytime I add a new client i the system. What i really want is to forch the system to query the db in order to get both the name and new id that the client has been allocated.
I tried to call the panel that holds the combo box but it does not work.
Any help will be much appreciated...