Java ImageIcon parseImageIcon(Image image)

Here you can find the source of parseImageIcon(Image image)

Description

Convierte un objeto Image en un objeto ImageIcon

License

Open Source License

Declaration

public static ImageIcon parseImageIcon(Image image) 

Method Source Code


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

import java.awt.*;

import javax.swing.*;

public class Main {
    /**/*from   w  ww .  j  ava2 s.  com*/
     * Convierte un objeto Image en un objeto ImageIcon
     */
    public static ImageIcon parseImageIcon(Image image) {
        return new ImageIcon(image);
    }
}

Related

  1. initImageIcon(Class cl)
  2. isValidImg(ImageIcon img)
  3. loadJavaInternal(ImageIcon r, Dimension d, boolean noStretch)
  4. makeDisabledImage(ImageIcon in)
  5. paintWithWatermarkHelper(JComponent component, ImageIcon watermark, Graphics g)
  6. prepareImage(ImageIcon icon, int x, int y)
  7. saveImage(ImageIcon picture, String targetfile)
  8. setDefaultImageIcons(Window window)
  9. setImageIcon(ImageIcon icon, String description)