i see.. do u use NetBeans IDE?
compile this class and drag it to your workarea, see what happens.
import java.awt.Graphics;
import java.awt.Polygon;
import javax.swing.JComponent;
Type: Posts; User: relixus
i see.. do u use NetBeans IDE?
compile this class and drag it to your workarea, see what happens.
import java.awt.Graphics;
import java.awt.Polygon;
import javax.swing.JComponent;
what do you want to do? paint those shapes on a component like JFrame or JPanel? or would you like to put that picture in a jpanel or frame?