Hi, I have a class that extends JFrame, and this has components, which extend JPanels and so on.
I wanted to put my application into an applet. I know Applet has its own paint() method, but all I want to do is do this from with the JPanels inside my JFrame. Can I just put a JFrame into an Applet, without having to change my code?
posted 11 years ago
An applet can certainly open a window (which is what JFrame is). It may need to be a JApplet instead of an Applet, I'm not sure.