Is it possible to create a window with say a JFrame and inside that have a java applet run?

Reason why I am asking is because I have a pre-compiled JAR file that I don't have the source code to but I do want to make a JFrame for it. How can I go about doing this?