When I compiled MazeApplet.java, I got a message that the size() method in the line: Dimension s = size(); is deprecated, so I checked the java API docs, and it said that size() is now written as getSize(). I changed the code, and my program now works (whereas it didn't before). Should I leave the code changed, or do something else?
|