I have 2 .java files I'm working with, one that is executable and the other one is a custom class.
I understand that during compilation, the custom class will be automatically imported since it's in the same folder on my machine. However, I'm using NetBeans and if I don't 'pretend' to import it in NetBeans, it would always show up with red lines indicating errors when I type the class object. Is there any way to 'import' the class .java file into NetBeans?
I'm a noob in java so I'm not sure how to questions like this one, sorry if my use of vocabulary isn't appropriate. Thank you very much!