[Solved] How to import a package from a different location?


You have to specify the package with keyword: Import “name_of_the_package”.*;

i.e import UI.*

In this way you will import every classs inside that package

solved How to import a package from a different location?