I’ve been using the AWTPanel as my display component. In order to use it, you have to set a custom renderer.
[java]settings.setCustomRenderer(AwtPanelsContext.class);[/java]
Unfortunately, setting this as the renderer doesn’t trigger the extracting of the native libs. The jm3 Natives code looks like:
[java] public static void extractNativeLibs(Platform platform, AppSettings settings) throws IOException {
String renderer = settings.getRenderer();
String audioRenderer = settings.getAudioRenderer();
boolean needLWJGL = false;
boolean needOAL = false;
boolean needJInput = false;
boolean needNativeBullet = isUsingNativeBullet();
if (renderer != null) {
if (renderer.startsWith("LWJGL")) {
needLWJGL = true;
}
}
…
[/java]
When using AwtPanelsContext.class as the renderer, the renderer string is CUSTOMcom.jme3.system.awt.AwtPanelsContext, so needLWJGL stays false, and the lwjgl natives are not unpacked. I can work around this, but I thought the devs might want to know.
thanks,
Nick