Here you can find the source of getChatLogoImageBig(int width, int height)
public static Image getChatLogoImageBig(int width, int height)
//package com.java2s; import java.awt.Image; import javax.swing.ImageIcon; public class Main { public static Image getChatLogoImageBig() { Image image = new ImageIcon( Thread.currentThread().getContextClassLoader().getResource("images/logo-150.png")).getImage(); return image; }/* www. java 2 s . c o m*/ public static Image getChatLogoImageBig(int width, int height) { return getChatLogoImage().getScaledInstance(width, height, Image.SCALE_AREA_AVERAGING); } public static Image getChatLogoImage() { Image image = new ImageIcon( Thread.currentThread().getContextClassLoader().getResource("images/logo-24.png")).getImage(); return image; } public static Image getChatLogoImage(int width, int height) { return getChatLogoImage().getScaledInstance(width, height, Image.SCALE_AREA_AVERAGING); } }