• Post Reply Bookmark Topic Watch Topic
  • New Topic

Image Help

 
Ben Jass
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator




I'm trying to get it to simply display the image, it won't show it though. The .png file is located in the com.grammerpros.startscreen folder.
 
Luigi Plinge
Ranch Hand
Posts: 441
IntelliJ IDE Scala Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It can be a bit confusing getting the image in the right directory when you're using packages. Best to use the following:
 
Ben Jass
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks man, helped a lot.
 
Rob Spoor
Sheriff
Posts: 20837
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Didn't I say the exact same thing in your earlier thread?
 
Ben Jass
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suppose you did, but for some reason it didn't work. I decided to restart the project (didn't get that far anyways), and I cleaned up the code a little bit and tried it again and it apparently worked.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!