So I have three text fields (name, X, and Y) and a method that moves an image (whose name corresponds to the 'name' entered by the user in the text fields) to position X and Y based on what the user inputs in those text fields once a button is clicked.
Code Removed
The name passes okay, but I have no idea how to parse the X and Y values so they're left as question marks :/
Thanks if you could point me in the right direction
EDIT: Figured it out. sorry. Just used:
Integer.parseInt(X.getText()