static JFrame showBufferedImage(BufferedImage img) {
  ret showPackedFrame(new JScrollPane(new JLabel(new ImageIcon(img))));
}