Hi guys,
This is the exception that I get...
java.lang.IncompatibleClassChangeError
at com.jmex.bui.text.AWTTextFactory.<init>(AWTTextFactory.java:71)
at com.jmex.bui.BLookAndFeel.configureDefaultLookAndFeel(BLookAndFeel.java:271)
at com.jmex.bui.BLookAndFeel.getDefaultLookAndFeel(BLookAndFeel.java:258)
at net.java.dev.bta.test.BUITest.simpleInitGame(BUITest.java:45)
at com.jme.app.SimpleGame.initGame(Unknown Source)
at com.jme.app.BaseGame.start(Unknown Source)
at net.java.dev.bta.test.BUITest.main(BUITest.java:31)
... when I run the following code:
public class BUITest extends SimpleGame {
private BRootNode broot;
public BUITest() { }
public static final void main(String args[]) {
try {
BUITest test = new BUITest();
test.setDialogBehaviour(ALWAYS_SHOW_PROPS_DIALOG);
test.start();
} catch (Exception e) {
e.printStackTrace();
System.exit(1);
} finally {
System.exit(0);
}
}
protected void simpleInitGame() {
broot = new BRootNode();
BLookAndFeel lnf = BLookAndFeel.getDefaultLookAndFeel();
BWindow window = new BDecoratedWindow(lnf, "A window!");
broot.addWindow(window);
}
protected void simpleUpdate() {
super.simpleUpdate();
}
protected void simpleRender() {
super.simpleRender();
broot.draw(display.getRenderer());
}
}
Is BUI going to be the standard for UI in jME? I have read the other threads, and I hope it does. Using BUI is intuitive, easy, and I won't have to learn anything fancy to use it ;)
Son Of Cain