In my code I'm trying to test if a value is an integer or not. If the entered value is an integer, than I let the user proceed; However, If it isn't the user must go back and enter a valid value. I have no idea what syntax or methods I need to use to make this work. In visual basic I know it's something like "TryParse" but I'm sure it's different in Java. Any Ideas?