JApplet problem

I would like to ask if anyone knows how to run JmonkeyEngine in standard JApplet. I created animation of atoms with main class extended from SimpleApplication. I tried to run it in JFrame based on this guide “https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:advanced:swing_canvas” and it worked fine. But my problem is that I dont know how to run it in JApplet. I need to run it in JApplet because i would like use Swing to create GUI (buttons, panels etc.). I know Nifty gui exists but i would really rather use Swing. So if anyone could me some example or advice how to compose JApplet code with init(), start(), stop() methods or what else I have to use to get it work, I would be grateful.

Just create a basicgame with the SDK and check the Applet checkbox, don’t use swing. If you do not want to do that, you have to manage signing and packaging the needed binaries from jME3-lwjgl-natives.jar according to the official Oracle documentation.

Thank you for your reply. Lets say I really need to use swing components. I found this topic “http://hub.jmonkeyengine.org/forum/topic/cant-run-applet-inside-a-web-page/page/2/” on this forum. That guys managed to create exactly what i need by building app on top of SimpleJMEApplet class. What I understand it is class from older JME engine. Does somthing in JME3 works like that which could I use?

Best make it webstart if you need to use swing (which I highly doubt btw, I rather think its got something to do with a comfort zone).