问题
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.
回答1:
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);
来源:https://stackoverflow.com/questions/19221544/how-to-run-a-applet-program-from-a-jframe-application