Java BufferedImage Display displayImagePopup(BufferedImage img)

Here you can find the source of displayImagePopup(BufferedImage img)

Description

display Image Popup

License

Open Source License

Declaration

public static void displayImagePopup(BufferedImage img) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import javax.swing.*;
import java.awt.image.BufferedImage;

public class Main {
    public static void displayImagePopup(BufferedImage img) {
        JLabel label = new JLabel(new ImageIcon(img));
        JOptionPane.showMessageDialog(null, label, "Word Debaser!", JOptionPane.PLAIN_MESSAGE, null);
    }/*from ww w  .j a  v a 2  s .c  o  m*/
}

Related

  1. displayImage(BufferedImage image)
  2. displayImage(final BufferedImage bufferedImage, final String title)
  3. displayImage(final String windowTitle, final BufferedImage image)
  4. displayImageInWindow(BufferedImage image)
  5. displayImageInWindow(BufferedImage image)