The Java gui is now able to display an image from a byte array