How about an Actionlistener?
] @ java Tutorials.
That one can pass a value (figure selected Row of JTable in Listener and pass data as argument to new JFrame)
You can open a second JFrame/JDialog and work there - afterwards return to default JFrame.
Choose wisely which DefaultCloseOperation you want little Hobbit ;)