I tried to do this at those lines, but it didn't work.
Icon b = new ImageIcon(getClass().getResource("C:\Users\Nicklas\Dropbox\Eclipse\WorkSpace Done\Code Reminder\src\b.png"));
Icon x = new...
Type: Posts; User: Nicken99
I tried to do this at those lines, but it didn't work.
Icon b = new ImageIcon(getClass().getResource("C:\Users\Nicklas\Dropbox\Eclipse\WorkSpace Done\Code Reminder\src\b.png"));
Icon x = new...
It is the whole error... and the whole code. Just look under: "The Error / Console"
My "program" won't run. It just shows an error.
I can't see why my code aren't working. (I'm still learning Java)
Please help me.
The Error / Console:
Exception in thread "main" java.lang.NullPointerException
at...