Java Image getScreenShareImage()

Here you can find the source of getScreenShareImage()

Description

get Screen Share Image

License

Open Source License

Declaration

public static Image getScreenShareImage() 

Method Source Code


//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);
    }
}

Related

  1. getLogoImage()
  2. getManagedImage(Component source, String file, float tint, Color solid)
  3. getNewImageFileChooser()
  4. getOpenSwingImage(String name)
  5. getPanelImage(JPanel p)
  6. getShieldImage()
  7. getWindowImage(Window window)
  8. imageOf(Action action)
  9. initVistaDragTextureImage()