Hi all,
I have compiled my Applet code and get no errors. When I try to run it in the browser I get grey box and in the bottom it says.
Applet Started
But does not load anythink, I have been to the java console and this is what it says:
Code:
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at PcPerformance2.init(PcPerformance2.java:15)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(Unknown Source)
at PcPerformance2.initComponents(PcPerformance2.java:69)
at PcPerformance2.access$000(PcPerformance2.java:9)
at PcPerformance2$1.run(PcPerformance2.java:17)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
any help or advice be good thanks as really driving me nuts
|