You've posted a lot of code and I'm not sure where you are in solving this, but to help answer your original question I would recommend using a class to store the values. Java has a class Point which...