How to store images within the application?

0

I'm starting now in Java and I need to finish an application that when I click on a button show an image, I could even do it using the

Desktop.getDesktop (). open (new File ()  but I needed this program to work on any computer, how could I put the image inside the application itself or something? Thanks

    
asked by anonymous 26.10.2015 / 15:56

1 answer

0

You can put the image in a folder and then generate the jar with the folder as well

    
26.10.2015 / 16:00