text: Hey, im a complete noob to java, but im trying to learn.
  The problem i have now is that i want to make some pixels transparent in my bufferedimage.
  What i "think" i've done so far is making an applet that paints to a JFrame.
  I start by loading in an image by the imageIO.read() function.
  now i need to make my paint-picture background transparent.
  If anyone could help i'd be very thankful. I appreciate if you can explain it as simple and throughly as possible as i'm kinda new to Java... :D
  I copy pasted my code so far below :D
  Code java:
  import java.applet.Applet; import javax.swing.*; import java.io.*; import javax.imageio.ImageIO; import java.awt.*; import java.awt.Image; import java.awt.image.BufferedImage; public class Testing extends Applet{ BufferedImage image; Graphics2D g2d; JFrame frame; public Testing(){} public void init(){ image = new BufferedImage(300, 300, BufferedImage.TYPE_INT_ARGB); g2d = (Graphics2D) image.createGraphics(); frame = new JFrame(); try{ image = ImageIO.read(new File("bump.png")); } catch(IOException e){} frame.getContentPane().add(this); frame.setVisible(true); frame.setSize(500,500); paint(g2d); } public void paint(Graphics g){ Graphics2D g2d = (Graphics2D) g; g2d.drawImage(image, 0,0, 100, 100, null); } }