Creating simple Textfield without Nifty?

Hi all,

I’m new on this forum. My problem is that I created an application without Nifty but now I need a simple TextField to input a number.

Is there a way to implement it in Java or jMonkey without using Nifty? Or maybe adding nifty only for this part should be easy?

I’m looking for a fast to implement solution :frowning:



Thanks in advance.

no, just use nifty. theres even a template xml file for that.

So far I’ve got no luck in finding TextField creation in jMonkey documentation :frowning:

Right-click a folder in the project assets, select “new file->other”, go to the “gui” group and select the textbox example. Then press Ctrl-I and enter “nifty text”.

1 Like

Big thanks :slight_smile:

http://freefr.dl.sourceforge.net/project/nifty-gui/nifty-gui/nifty-gui-the-manual-v1.0.pdf

Just one more question… is there a way to make NiftyGui display on top of what I have added to the guiNode? Now it displays beneath everything ;/