I am new to Java, and searched on this forum, but the problem is that I really don't know how to approach this problem, and so it is difficult to search for a good solution.
This is the problem:
I have a database with contact people, each having their own primary key.
I need to show a list of contact names (in some kind of popup menu), but when the user selects a contact name, I actually want the list to return the primary key and not the name of the contact.
Is their anyway that you can define a menu, popup or anything else showing the contact name and returning another "hidden" value?
I really have no idea if this subject has already been answered, but I just couldn't find the appropriate answer here. But if someone nows, just a link to the post is more then helpful!
Thanks in advance and kind regards