Fix SDK Nifty Gui Editor

Hello everyone, I have been using JME for a while. After transitioning from JME2 to JME3, I found that since version 3.1 of the SDK, the NiftyGuiEditor has been broken. It crashes whenever I switch to the visual interface, and no one has fixed it for a long time. This week, I spent some time repairing it, and now everything is basically working fine. I plan to submit the relevant code this week.
GIF
GIF2

Those familiar with Android development should be no stranger to this; it is essentially equivalent to the process of writing Android XML interfaces. :slightly_smiling_face:


12 Likes

I have a little history with this issue.

As one of the (few?) people who still use Nifty GUI, I am delighted to hear that the editor has been fixed. However, I quit using the SDK many years ago. How hard would it be to make the editor available as a stand-alone application, separate from the SDK?

2 Likes

The issue with the Nifty editor is this: Nifty GUI editor crashes on launch · Issue #276 · jMonkeyEngine/sdk · GitHub.

And if you want to use it as standalone, just head on to GitHub - relu91/niftyeditor: Create your game gui with nifty-editor and nifty-gui. It is a standalone editor, the SDK just wraps it.

5 Likes

The jME Nifty GUI plugin is essentially an integration of the NetBeans interface with NiftyGui0.5.7.jar. NiftyGui0.5.7.jar is a standalone visual editor that can be executed independently.

2 Likes

Thanks! I’ll try that next time I need to edit.