brainclog wrote:So I think that part is resolved, although Netbeans seems to completely ignore the source for fenggui... There is no refresh like in Eclipse (or it's hidden), and sometimes it will do it on its own and sometimes...nothing. Anyhow I have a bigger problem, I create a new project and it has a Main already, and I can't figure out what your main class is for the testbed, assuming there is one. I thought it was TestbedMain, but it's just a trait... I am kindof a scala newb, but have read most of the book. I tried to call one of the scene singeltons like PlanetGravity.createScene and passed in my own world object. It compiled, but didn't do anything. I selected Run Main Project.
I guess the Testbed main class is a bit hidden (and TestbedMain is a badly named trait). It's because all slick-dependent code is in a separate package. The wiki page I linked to did list it though:
org.villane.box2d.testbed.slick.TestbedRunner
brainclog wrote:I have to say, the special characters (e, pi) are annoying. Netbeans likes to put squiggly red lines starting at a special character until the end of the source file, but it doesn't flag an error, just makes it impossible to read the source, even though it apparently supports unicode (and the character shows up correctly). Plus it would be difficult to edit source, although most people won't need to.
I'm aware of that, but it's a bug in the Netbeans Scala plug-in and hopefully will be resolved soon. I will probably reduce the usage of unicode chars in the near future though.