Dynamic object fields

I am creating objects with buttons in the nifty gui. Is there a way when I am creating these objects to make some sort of popup where you can put in values for different fields for the object?

I only ask instead of looking around or just attempting because I have very limited time to do this in…er to figure out how to do it in.

Thank you very much.

As with most things, you’re really better off reading the docs… TBH, I’m not sure what you’re asking for but this is the closest I could think of https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:advanced:nifty_gui_java_interaction#java_modifies_nifty_elements_and_events

Well basically i have objects with fields that are ints. And I need to be able to change them when I create them. So I would like to know how to do a popup window and how to take numbers inputed by the user into this popup as the values for fields of the object.

So knowing how to make a popup window with nifty gui and how to get information from this popup window into my java code. Any help with this would be appreciated.

For nifty, the nifty wiki is always a good starting point. Especially this page:


Since it explains in detail all the different nifty controls.

Ok thank you.