public static void createIcons() {		
		// Create a buffered image from the commented image.
		Image notCommentedImage = ICON_IS_NOT_PROPERTY.getImage();
		BufferedImage image = new BufferedImage(TRUE_WIDTH, BUTTON_HEIGHT, BufferedImage.TYPE_INT_ARGB);
		Graphics2D g = image.createGraphics();
		g.drawImage(notCommentedImage,0,0,Outliner.outliner);
		
		// Create Buffered Image for the derived images.
		BufferedImage commentedImage = new BufferedImage(TRUE_WIDTH, BUTTON_HEIGHT, image.getType());
		
		// Define a transforamtion to rotate the closed image to create the open image.
		AffineTransformOp at = new AffineTransformOp(AffineTransform.getRotateInstance((java.lang.Math.PI), TRUE_WIDTH/2, BUTTON_HEIGHT/2), AffineTransformOp.TYPE_NEAREST_NEIGHBOR);
		at.filter(image, commentedImage);
		
		Color c = Preferences.getPreferenceColor(Preferences.TEXTAREA_COMMENT_COLOR).cur;
		int hexColor = ((c.getRed() << 16) | (c.getGreen() << 8) | c.getBlue());
		
		RGBImageFilter redFilter = ImageFilters.getLightenFilter(hexColor);
		FilteredImageSource commentedSource = new FilteredImageSource(commentedImage.getSource(), redFilter);
		Image commentedImage2 = Outliner.outliner.createImage(commentedSource);
		
		ICON_IS_PROPERTY = new ImageIcon(commentedImage2);
		
		// Lighten color to inherited versions
		RGBImageFilter lightenFilter = ImageFilters.getLightenFilter(0x00cccccc);
		FilteredImageSource commentedInheritedSource = new FilteredImageSource(commentedImage2.getSource(), lightenFilter);
		FilteredImageSource notCommentedInheritedSource = new FilteredImageSource(image.getSource(), lightenFilter);
		Image commentedInheritedImage = Outliner.outliner.createImage(commentedInheritedSource);
		Image notCommentedInheritedImage = Outliner.outliner.createImage(notCommentedInheritedSource);
		
		ICON_IS_PROPERTY_INHERITED = new ImageIcon(commentedInheritedImage);
		ICON_IS_NOT_PROPERTY_INHERITED = new ImageIcon(notCommentedInheritedImage);
	}