How to use a component in a JFrame inside another JFrame?

Printable View