I have made one JApplet and I would like to change it to application. I tried to do like on this url: Applet to Application but then I get errors because it doesn't recognize methods such as getContentPane(since I generated part of code from JApplet Form). Can anybody, please, explain me how to solve this?