How to import a package from Eclipse?

Posted by Roman on Stack Overflow See other posts from Stack Overflow or by Roman
Published on 2010-04-21T07:54:43Z Indexed on 2010/04/21 8:13 UTC
Read the original article Hit count: 220

Filed under:
|
|
|

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 imports the "game" package. If I create a new file and write import game; then Eclipse complains that it does not know what the "game" package means. Can somebody please help me to solve this problem?

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse