title: Display JFrame inside JPanel in java
body: <p>Is this possible to add a JFrame into a JPanel in Java.
  i m using a java program which is giving output as a frame which i wanted to display inside another program's JPanel on click of a button.
  How can i do this?</p>