Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Java: Create an image of swing component using Component.createImage()

import javax.swing.JFrame;
import java.awt.image.BufferedImage;
public class ComponentImage
  public static void main(String[] argv) throws Excepti

Java: Modify the characteristics of a shape using ‘Strok’ class

 import java.awt.*;
 import java.awt.geom.*;
 import javax.swing.*;
 * This example draws a 
 * square and modifies its features
 public class