I have downloaded a JAVA FILE and I don't know how to import it in Eclipse.
3 Answers
If it's a plain Java file (.java), just put it somewhere inside the src folder of your project. Also, you will have to change its package name, so if it says:
package com.some.package;
And you copy it to src/com/your/app, then you have to change the package name to this:
package com.your.app;
By the way, there's no "Import Java file" option in Eclipse, don't waste time looking for an automatic way to do it.