AJ.
AJ.

Reputation: 4534

how to run a applet program from a JFrame application?

I am having a JFrame application which is running fine. Now I want to call a applet program from that JFrame application and I don't know how to do it.

Please give some suggestions.

Upvotes: 0

Views: 2591

Answers (1)

Prasad
Prasad

Reputation: 1188

I will suggest you to add the applet in JFrame. Applet is nothing but the component. You can add it in any of the JFrame component.

myPanel.add(myApplet);

Upvotes: 2

Related Questions