if (bh.bitcount == 8)
}  if (bh.bitcount == 8) {
    private static java.awt.Image loadBMPImage(URL file) {		try {            InputStream fs = file.openStream();            DataInputStream dis = new DataInputStream(fs);            BitmapHeader bh = new BitmapHeader();            byte[] data = new byte[dis.available()];            dis.readFully(data);            dis.close();            bh.read(data);            if (bh.bitcount == 24)                return (bh.readMap24(data, bh));            if (bh.bitcount == 32)                return (bh.readMap32(data, bh));            if (bh.bitcount == 8)                return (bh.readMap8(data, bh));        } catch (IOException e) {            LoggingSystem.getLogger().log(Level.WARNING, "Error while loading " + file);        }        return null;    }