inTF.getText() returns a String, but Java only allows ints to be
stored in int variables, so you must convert that String to an int, like this:
int x;
String s;
s = inTF.getText();
x = Integer.parseInt(s);
Yes, it looks like "abracadabra", but that's how you do it!