Hello
I am making an project in Netbeans and the following is my problem:
I deleted some of my .java files of my project and later copy pasted the same files. Now the code runs perfectly fine but Netbeans doesnt detect the packages. I mean inside the code it shows that yellow bulb with Red'!' sign meaning the file in the package doesnt exist where as it does.
And again the code is running fine
Please help

PS: I have attached The jpeg file of the Screenshot view of the issue

Yes netbeans can be a pain in situations like this. Save yourself some headache and create a new project.

Any better Solution. It has happened to me twice or thrice and every time i have been making a new project to solve the problem, which i call it the 'cheap' way.
There has to be some solution

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.