Robbi_Blechdose
Posts: 83
Joined: Sat Sep 20, 2014 6:11 pm

[Solved] Problem with Resources

Sun Oct 26, 2014 1:15 pm

Hello all,
I followed this http://www.youtube.com/watch?v=9dzhgsVaiSo on my pi. (Until 43 minutes.) Now that guy in the video has a working menu, mine is just blank. I'm using JBerries to program. It says input==null (can't find image). I have imported and included my resource folder (but it doesn't show up beneath my code files).
Any help on this?

Robbi Blechdose

EDIT: My files are .png's. Is that a problem?
EDIT²: It isn't.
EDIT³: Edited error description.
Last edited by Robbi_Blechdose on Sun Oct 26, 2014 6:55 pm, edited 1 time in total.

Robbi_Blechdose
Posts: 83
Joined: Sat Sep 20, 2014 6:11 pm

Re: Problem with Resources

Sun Oct 26, 2014 6:25 pm

Ok,
so I downloaded the source and saw a .classpath file there which told "something" to treat the Resources folder (which is outside the src folder) the same as the src folder. Is there any way to do something similiar on Raspbian?

Robbi Blechdose

Robbi_Blechdose
Posts: 83
Joined: Sat Sep 20, 2014 6:11 pm

Re: Problem with Resources

Sun Oct 26, 2014 6:55 pm

Yay!
Solved!
I found out I had to go to preferences and then classpath and then add (the src and) the Resources folder! :mrgreen:

Robbi Blechdose

Return to “Java”