mireazma
mireazma

Reputation: 556

NetBeans doesn't recognize imported class

I've been working for a couple of weeks and NetBeans hasn't done anything like this before: it doesn't recognize an import. I've tried some workarounds but I can't get past this. To better understand what's going on here are some screenshots: not qualified name
The respective import has a warning as it's unused; With qualified name: qualified name

I've tried fully qualified with the same effect. I chose the name from the very suggestion list. any method I pick is unrecognized. fully qualified and suggested name

I can tell this is a NetBeans bug but what can I do to go on with my project? I've tried advices on other answers like deleting the cache, deleting the roaming\7.4 contents even reinstalling. I've worked on NetBeans 7.4; uninstalled and replaced it with NetBeans 8.0, all for nothing. And aren't identical words supposed to be visually cued by the yellowish color? identical?

Upvotes: 2

Views: 2057

Answers (2)

Mohd Sadham
Mohd Sadham

Reputation: 435

From my understanding of your question. Try these link: [Organize Imports] missing for Use Fully Qualified Names

Upvotes: 0

prmottajr
prmottajr

Reputation: 1824

Maybe the version of the library that you added to your project does not contain that particular class. You could also try to import org.lwjgl.opengl.GL15.*; (not a good practice) and see what happens.

Upvotes: 0

Related Questions