Source folder images eclipse/java -
how crate source folder images , use them in same project? have "image" folder in src , indicated source folder via build-path. tried million ways put images on jframe-jlabels none of them seems work(it absolute path).what best way that?relative path needed...
make resource folder. call "res" or whatever want. or can make method sets directory folder want , input file name
img = imagename.png
buffimg = imageio.read(new file("c:\project\src\images\" + img));
Comments
Post a Comment