private void updatePicture() {

		BufferedImage bufferedImage = null;
		try {
			Iterator<ImageReader> readers = ImageIO
					.getImageReadersByMIMEType(mimeType);
			ImageInputStream iis = ImageIO
					.createImageInputStream(new ByteArrayInputStream(image));
			if (readers.hasNext()) {
				ImageReader reader = readers.next();
				reader.setInput(iis);
				bufferedImage = reader.read(0);
			}
		} catch (IOException ioe) {
			ioe.printStackTrace();
		}
		picture.setText("");
		if (bufferedImage != null) {
			picture.setIcon(new ImageIcon(bufferedImage.getScaledInstance(200, -1, Image.SCALE_SMOOTH)));
		}
		if (mimeType != null) {
			info.setText("MIME type: " + mimeType + "\n" + (date == null ? "" : "Date: " + date));
		}
		repaint();
		revalidate();
	}