convert JFrame to JApplet
I have made JFrame application, however I neet to have the same application as JApplet.
I try to change expend JApplet and change InitComponent to Init however this does not work becouse it does not recignise pack();
How can I do that?
Re: convert JFrame to JApplet
Better to avoid creating GUI's geared towards making top-level windows in the first place. Better to have your GUI's create JPanels, allowing you to plop them in a JFrame or JApplet or even JDialog or another JPanel as you see fit.