Fix up the way we create our display to play nicely with the JmeCanvasApp.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3821 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2006-01-25 20:31:47 +00:00
parent abb941223d
commit 3dde8d448a
3 changed files with 35 additions and 39 deletions
@@ -92,9 +92,15 @@ public class JmeCanvasApp extends JmeApp
return EventQueue.isDispatchThread();
}
/**
* Initializes our user interface bits.
*/
// documentation inherited
protected DisplaySystem createDisplay ()
{
// we've already created our display earlier so just return it
_api = "LWJGL";
return _display;
}
// documentation inherited
protected void initInterface ()
{
_iface = new Node("Interface");