The warning means what it says: You are using a API, or resource, (class/interface etc) that is marked as 'old', or deprecated. This doesn't mean that it won't work, just that it is not the recommended way any more.
The suggestion of compiling with Xlint is good, you do it like this:
Now javac will tell you more about which API it considers old. Mostly (if not always?), the java specification documents (
http://java.sun.com/reference/api/index.html) will give hints on what
you should use instead of the old way.
Hope this helps.
(Gah, stupid smilies... )
[ July 14, 2008: Message edited by: Carl Pettersson ]