Here you can find the source of parseImageIcon(Image image)
public static ImageIcon parseImageIcon(Image image)
//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); } }