Your preferences have been saved!
» Renderer for RGB images using AWT Image using Java Media - import javax.media.*; import javax.media.renderer.VideoRenderer; import javax.media.Format; import javax.media.format.VideoFormat; import javax.media.format.RGBFormat; import java.awt.*; import java.awt.image.*; import java.awt.color.ColorSpace; import java.awt.event.*; import java.util.Vector;... 14 Feb 12 » This program demonstrates the transfer of images between a Java - import java.awt.BorderLayout; import java.awt.Color; import java.awt.EventQueue; import java.awt.Graphics; import java.awt.Image; import java.awt.Toolkit; import java.awt.datatransfer.Clipboard; import java.awt.datatransfer.DataFlavor; import java.awt.datatransfer.Transferable; import java.awt.datatransfer.UnsupportedFlavorException;... 14 Feb 12 » Convert java.awt.image.BufferedImage to java.awt.Image - import java.awt.Component; import java.awt.Graphics; import java.awt.Image; import java.awt.MediaTracker; import java.awt.image.BufferedImage; /**  * BufferedImageConverter.java -- static class containing a method to convert a  * java.awt.image.BufferedImage into a java.awt.Image  */ public class BufferedImageConverter {... 14 Feb 12 » Parses a java.awt.Color from an HTML color string in the - import java.awt.Color; /** A set of tools for analyzing and manipulating colors */ public class ColorUtils {   /**    * Parses a java.awt.Color from an HTML color string in the form '#RRGGBB' where RR, GG, and BB    * are the red, green, and blue bytes in hexadecimal form    *     * @param htmlColor The HTML color string to parse    * @return The java.awt.Color represented by the HTML color string... 05 Feb 12 » Color class is used to work with colors in Java - import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import javax.swing.JFrame; import javax.swing.JPanel; public class Colors extends JPanel {   public void paintComponent(Graphics g) {     super.paintComponent(g);     Graphics2D g2d = (Graphics2D) g;     g2d.setColor(new Color(12, 16, 116));... 05 Feb 12 » A Java implementation of the X11 region - public class Region   implements Cloneable {   private static final int OPERATION_UNION        = 0;   private static final int OPERATION_INTERSECTION = 1;   private static final int OPERATION_SUBTRACTION  = 2;   private static final int OPERATION_XOR          = 3;         private static final int INITIAL_SIZE = 40; // 10 rectangles      // Temporary working area common for all regions for maximum performance... 04 Feb 12 » SelectItem with icons -  Sample SelectItem with icons   import java.util.LinkedHashMap; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.ui.RootPanel; import com.smartgwt.client.widgets.Canvas; import com.smartgwt.client.widgets.form.DynamicForm; import com.smartgwt.client.widgets.form.fields.ComboBoxItem;... 29 Jan 12