fixed resources

This commit is contained in:
Raybz@Raybz 2013-07-05 13:23:19 +02:00
parent 893c926ed0
commit 13d1cd544b

View File

@ -46,11 +46,11 @@ public class OptionSettings {
}
try {
settings.setIcons(new BufferedImage[]{
ImageIO.read(getClass().getResourceAsStream("../../icons/icon256.png")),
ImageIO.read(getClass().getResourceAsStream("../../icons/icon128.png")),
ImageIO.read(getClass().getResourceAsStream("../../icons/icon64.png")),
ImageIO.read(getClass().getResourceAsStream("../../icons/icon32.png")),
ImageIO.read(getClass().getResourceAsStream("../../icons/icon16.png"))});
ImageIO.read(getClass().getResourceAsStream("/org/wyrez/shootingstars/icons/icon256.png")),
ImageIO.read(getClass().getResourceAsStream("/org/wyrez/shootingstars/icons/icon128.png")),
ImageIO.read(getClass().getResourceAsStream("/org/wyrez/shootingstars/icons/icon64.png")),
ImageIO.read(getClass().getResourceAsStream("/org/wyrez/shootingstars/icons/icon32.png")),
ImageIO.read(getClass().getResourceAsStream("/org/wyrez/shootingstars/icons/icon16.png"))});
} catch (IOException ex) {
ex.printStackTrace();
}