Discussion Board
There are no previous messagesThere are no next messages
Current Forum: Homework 2 Forum
Date: Fri Sep 21 2001 12:57 pm
Author: Dozzi, Giancarlo <gdozzi@andrew.cmu.edu>
Subject: MazeApplet.java: deprecated API

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?
Post response

There are no previous messagesThere are no next messages
Current Thread Detail:
MazeApplet.java: deprecated API      Dozzi, Giancarlo      Fri Sep 21 2001 12:57 pm       

Back to previous screen