Hey, I've never really used packages before so I was wondering if what I am doing is possible.
i have a package called spacewars with all my classes. I then created another package from that called spacewars.resources.
I am not sure what the best way to access those resources is.
ImageIcon ship = new ImageIcon((shipImage)); image = ship.getImage();
Where shipImage is the url/directory. I do not know how to format/write the directory to access another package. I would also like to know if this is a good way to go about things, or if I should just keep the resources outside a package etc.