Author Topic: Modifying a GUI without recreating it  (Read 366 times)

Is there a way to modify existing objects and and new objects to a GUI without deleting and replacing it?

parentObject.add( newObject );
parentObject.remove( oldObject );

In some cases, this problem arises when modifying GUIs after they are created, though.
« Last Edit: August 13, 2012, 06:18:31 AM by Port »

and if the object you wish to add to has no name you need to go to the closest object with a name and do objectName.getObject(0).add(newObject); or objectName.getObject(3).getObject(1).add(newObject); and so forth and so on.