*
The moose likes Swing / AWT / SWT and the fly likes ItemListener missing from AWT after blue screen Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "ItemListener missing from AWT after blue screen" Watch "ItemListener missing from AWT after blue screen" New topic
Author

ItemListener missing from AWT after blue screen

j hada
Greenhorn

Joined: Dec 09, 2011
Posts: 2
My computer blue screened, stupid vertex 3 ssd causing issues.... anyways.

When i got back into Netbeans IDE 7.0.1, ItemListener was underlined red, symbol not found. When i tried to manually import java.awt.even.ItemListener, it did not have ItemListener as an option any more, and would just highlight the import statement red.

I uninstalled JDK, netbeans... i did a system restore to before the blue screen and it still didnt fix it.

Is there some where I can replace the awt file? I found awt.dll in C:\Program Files\Java\jdk1.7.0_01\jre\bin and made sure it was replaced when I reinstalled.

Ideas?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19651
    
  18

Make sure your rt.jar file is still working properly. awt.dll is only used by the JVM itself, not by IDEs (or at least not for the compiling part).


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
j hada
Greenhorn

Joined: Dec 09, 2011
Posts: 2
i replaced my rt.jar file and it worked like a charm! thanks a lot Mr Spoor!
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19651
    
  18

You're welcome.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: ItemListener missing from AWT after blue screen
 
Similar Threads
Unsatisfied link error in NetBeans but not from browser or command line
Two bucket puzzle
why won't ie find JApplet class files?
null pointer again!
Stuck on checkboxes -pleeeeze help