title: Class not being compiled automatically
body: <p>Javac was successfully re-compiling all my classes, except one, a class I had called "Box.java".  Javac would compile it if specifically asked: <code>javac Box.java</code>, but not as part of a re-compile of the whole project.  </p>
  
  <ol>
  <li><p>Am I right in thinking that this is because there is, it turns out, a class called "Box" (part of Swing I believe, and I am using Swing generally elsewhere)?  The problem seems to have gone away by renaming my class (and associated methods etc.) "DecisionBox.java".</p></li>
  <li><p>If that's right, what's the best way of avoiding in future.  I can find a list of Java reserved words fairly easily, but reserved classes....?  Just search the JavaDocs?  Or would an IDE spot this error?</p></li>
  </ol>
  
  <p>I only ask because with no error messages it took ages to track down that a class wasn't being recompiled...</p>