Java ImageIcon Load loadImageIcon(byte bytes[], String descr)

Here you can find the source of loadImageIcon(byte bytes[], String descr)

Description

load Image Icon

License

Open Source License

Declaration

public static ImageIcon loadImageIcon(byte bytes[], String descr) 

Method Source Code

//package com.java2s;

import javax.swing.ImageIcon;

public class Main {
    public static ImageIcon loadImageIcon(byte bytes[], String descr) {
        ImageIcon image = new ImageIcon(bytes, descr);
        return image;
    }/*ww  w  .  j  ava  2 s  . c o m*/
}

Related

  1. getImageIcon(String res)
  2. getImageIcon(String resource)
  3. getImageIcon(URL u, int w)
  4. getImageIcon(URL url)
  5. getScaledInstance(Image img, int targetWidth, int targetHeight)
  6. loadImageIcon(Class clas, String iconPath)
  7. loadImageIcon(String imageName)
  8. loadImageIcon(String url)
  9. loadResourceImageIcon(String imageName)