This class represents a JXObject. JXObjects themselves represent an OpenJX
control or GUI element on the stack in the Virtual Machine.
author: Jared Spigner
This is the constructor for the JXObject class. It creates a new
instance of JXObject.
Parameters: vm - points to an instance of the VirtualMachine class. Parameters: tag - is the element type of this object.
This method pushes a JXObject onto this object's stack and sets the
frame pointer to it.
Parameters: obj - is the JXObject we want to add to the stack.