Hello

I am new to these forums and thought I might find solution to my problem here.

I am making an application with JTree used for showing multiple names taken from a sql server. The names are not unique and I would like to be able to update rows in the sql table from the selection you make in the JTree. How can I implement the id of the row but only show the name that is attached to it?

I want to select a name in the JTree but the output of the code should be an id that is not shown.