Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find resources in imageCanvas.setIcon() #8

Open
palazzem opened this issue Feb 22, 2014 · 2 comments
Open

Unable to find resources in imageCanvas.setIcon() #8

palazzem opened this issue Feb 22, 2014 · 2 comments

Comments

@palazzem
Copy link
Contributor

Note: I don't know if this issue only occurs in OSX and IntelliJ.

When creating a new ImageIcon the path is: /res/placeholder.png but I have /resources/res/placeholder.png. Fixing the path isn't sufficient and I require to put all resources inside src folder.

If this is a verified issue, I can provide a pull request. Otherwise just mark this as invalid :)

@basteez
Copy link
Owner

basteez commented Mar 3, 2014

Hi Emanuele,

I need to try importing the project in IntelliJ, this issue doesn't occur on netbeans.

Regards

@palazzem
Copy link
Contributor Author

palazzem commented Mar 3, 2014

I think it's related to the classpath definition inside the IDE. As default, IntelliJ defines the classpath only inside src/. Maybe this is the cause. When I have some free time, I'll investigate further and provide more information about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants