Search:

Type: Posts; User: relixus

Search: Search took 0.25 seconds.

  1. Replies
    3
    Views
    1,899

    Re: How I can create those shapes with Java?

    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;
  2. Replies
    3
    Views
    1,899

    Re: How I can create those shapes with Java?

    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?
Results 1 to 2 of 2