Eclipse IDE project directory structure help [Java]?

First off, your Java code itself should go into a package, not the default package. Next, you may be able to refer to the image file by prepending src/ to your path.

First off, your Java code itself should go into a package, not the default package. Next, you may be able to refer to the image file by prepending src/ to your path: "src/Textures/Crate. Png" But better would be to get the image as a resource, not as a file using the Class#getResourceAsStream.

Ok thanks, I get how the directory structure works. What should I call my package though? And what do I do with the default, right-click delete?

– shadowprotocol Nov 30 '10 at 2:54 src is not a package, not at all. You create a package inside of src by right clicking on it and then clicking on New, then Package. Then you can drag your source files into this package.

– Hovercraft Full Of Eels Nov 30 '10 at 2:57 I understand, thanks dude! – shadowprotocol Nov 30 '10 at 2:57 Wonderful, glad it helped! :) – Hovercraft Full Of Eels Nov 30 '10 at 2:59.

Drag using the mouse your Textures folder to the LWJGL 6 project folder.

Try giving src/Textures/Crate. Png as the path to the FileInputStream constructor.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions