Here you can find the source of getScreenShareImage()
public static Image getScreenShareImage()
//package com.java2s; import java.awt.Image; import javax.swing.ImageIcon; public class Main { public static Image getScreenShareImage() { Image image = new ImageIcon(Thread.currentThread().getContextClassLoader().getResource("images/share.png")) .getImage().getScaledInstance(16, 16, Image.SCALE_AREA_AVERAGING); return image; }//from www. j a v a 2 s .c om public static Image getScreenShareImage(int width, int height) { return getScreenShareImage().getScaledInstance(width, height, Image.SCALE_AREA_AVERAGING); } }