private BufferedImage loadImageResource(String fname) throws IOException { return ImageIO.read(getClass().getResourceAsStream(fname));
public static BufferedImage loadImageResource(String fname) throws IOException { return ImageIO.read(MapEditor.class.getResourceAsStream(fname));
    private BufferedImage loadImageResource(String fname) throws IOException {        return ImageIO.read(getClass().getResourceAsStream(fname));    }