Java: How to create a new frame with the details of a selected object?

I am trying to create a simple GUI with swing for a bank application and I do not know how to create a new frame that is somehow linked to a certain object.

When I press “Bank Details” I would like to open a new frame that looks exactly like this one but has the list of clients of the selected bank. And there I would like to edit the list of clients of the selected bank by adding/deleting them. How could I do this? Any example code would be appreciated.