Problem with removing fps and stats text in applet


First I tried this:


Main app = new Main();




When I test it in jme3 locally, the fps and stats views are removed and it’s fine, but when I build it into an applet, the texts are still there.

I also tried things suggested here:

But so far I’ve had no luck.

How do I remove fps and stats bitmaptexts?


The main() is not being called in an applet, only on desktop applications. Just move the calls to simpleInit

Oh. Didn’t think of that.

Thanks a lot for your fast response.