Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个运行良好的 JFrame 应用程序。现在我想从那个 JFrame 应用程序中调用一个 applet 程序,但我不知道该怎么做。
请给一些建议。
我会建议你在 JFrame 中添加小程序。Applet 只不过是组件。您可以将它添加到任何 JFrame 组件中。
myPanel.add(myApplet);