Problem with removing fps and stats text in applet

Hi



First I tried this:

[java]

Main app = new Main();

app.setDisplayFps(false);

app.setDisplayStatView(false);

app.start();[/java]



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:

http://hub.jmonkeyengine.org/groups/general-2/forum/topic/cant-disable-stats-view/

But so far I’ve had no luck.



How do I remove fps and stats bitmaptexts?

Thanks

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.