It sounds like the file "0. Gif" isn't in your jar file (or wherever), so getClass().getClassLoader(). GetResource("0.
Gif") is returning null. That's then being passed to the ImageIcon constructor, which is throwing an exception.
The NullPointerException is probably occurring because this.getClass().getClassLoader(). GetResource("0. Gif") is returning null.
– Steve Kuo Aug 13 at 23:19 @Steve Kuo Because that's what he had in his code, and it makes it slightly more understandable. – Jeffrey Aug 13 at 23:21.
Its also possible the files have other rights after you have copied the files with ubuntu. So you should check the rights of the files and wether they actually exits.
I checked the security tab of my workspace folder (which has all my Eclipse projects) and it said under Groups or Usernames: "Everyone". I checked a random file under program files and there were permissions for Everyone, SYSTEM, Administrators, Users, ect. I'll try to add System permissions to workspace.
– Pat Aug 13 at 15:29 That didn't work – Pat Aug 13 at 15:57.
Ok, everyone is being a bit harsh here, and it's quite obvious that you are new to Java. In your code example, you are missing an import and if you really mean for Test to be an inner class, it's declared in the wrong place. Apart from that and a little refactoring to make it more readable, it does what you appear to intend it to.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.