I’m trying to include Lemur GUI in my project, but im strugling with making it work. I’ve seen Lemur’s “getting started” tutorial where are written all steps to start using Lemur.
I have downloaded Lemur.jar, Lemur-proto.jar, Guava, slf4j and im using updated JME3 SDK. In a new BasicGame project i`ve included all files by right clicking on libraries tree and then > add JAR/Folder option.
I have added just one line in the basic code (GuiGlobals.initialize(this)) in SimpleInitApp method just as its said in getting started, and i have imported GuiGlobals by adding
When im trying to run Main.java im getting this error:
It wasn’t clear from your description but just in case: you can’t just add the folder that has the jars. You have to add each of the jars. The “add folder” option is for when you have a folder full of class files, not jars.
You shouldn’t add all of the sl4j jars. You only really need one of them unless you want logging turned on. At a minimum, you just need the sl4j API jar. If you want logging on then you need one of the other implementation jars. Probably the simplest to setup is just to use the one for jdk logging. The jar might look like: slf4j-jdk14-1.7.13.jar
I personally prefer log4j but you’d also need the log4j jars and JME is using Java’s built-in logging internally anyway.