In one of my directories I have all .java files which belong to one package (\"game\"). Now I want to create one .java file which does not belong to this package and which i
You might also want to use Eclipse's 'Organize imports' shortcut: Ctrl + Shift + O.
This will find all missing types and add the appropriate imports automatically.