I had declared and implemented a class (1) in a package , then imported (2) and used (3) in another class file of the same package but not folder :
1 - class file MIkController has no problem or warning
2 - import pro.gcon.mik.controller.MIkController;
3 - public void setController(MIkController miKController) { #body }
Class MIkController is in package pro.gcon.mik.controller
, while the class file where i need to use MIkController
is in package pro.gcon.mik.view
.
Everything worked until i closed NetBeans , the next time i had found that the import (2) appeared as not used and it tells me that the declared function (3) needs one class , enum , etc. I've tried to found an answer but I have not found anything that is right for my problem. Sorry for my school English and thanks in advance for your reply.