If the Dropbox folder was outside your Eclipse project, you can link the source folder in Eclipse so that the class files will be saved inside Eclipse, but the source in your Dropbox folder will get the changes as well. Right-click on the project, select "Build Path", then "Source of Links ..."
This assumes that you do not care about any other files associated with the Eclipse project (.classpath, .project, etc.).
source share