This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
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?
Thanks
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35250
7
posted
0
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.