Need Help! Array of XY post to a Map

Hey guys(and gals), I'm struggling with some code and was hopping one of you Java Wizards might be able to help....

The plan is to translate the raw array data into lines... So basically when the program is done running, I want it to provide me with an image of the path used by Cat(red) and Mouse(Blue).... Any help would be awesome!

Re: Need Help! Array of XY post to a Map

One possibility is to create a "2D" String array with dimensions the size of MaxX+1 and MaxY+1. Then you can populate the particular coordinate
with a character at location (x,y) in the array. For empty locations, the value would be a space. This has problems in that you are using text and the coordinates are large (500 columns or so).

When you get more experience you could use the Graphics system and draw the path.

Also, it appears you are using an array so you can return more than one value. A cleaner solution (imho) is to declare a class to hold the values. You
might even be able to use the Point class in the JDK API.