public static int RGB565_to_ARGB8(short rgb565){
        int a = 0xff;
        int r = (rgb565 & 0xf800) >> 11;
        int g = (rgb565 & 0x07e0) >> 5;
        int b = (rgb565 & 0x001f);

        r  = r << 3;
        g  = g << 2;
        b  = b << 3;

        return (a << 24) | (r << 16) | (g << 8) | (b);
    }
A private constructor to inhibit instantiation of this class.
jme3-core/src/tools/java/jme3tools/converters/RGB565.java