Results 1 to 3 of 3
  1. #1
    alphajoseph is offline Member
    Join Date
    Apr 2009
    Posts
    1
    Rep Power
    0

    Default drawing shapes in java help

    friends
    i need to draw shapes on a JPanel or consider a GUI

    Is there any designer for this like the visual editor where you can drag and drop components onto the window????

    I cant keep drawing from the program because it will be a tedious job for me as i have got a complicated diagram.

    Any quick help is appreciated
    Last edited by alphajoseph; 04-01-2009 at 12:13 PM.

  2. #2
    THEAniKan is offline Member
    Join Date
    Sep 2009
    Posts
    15
    Rep Power
    0

    Default

    I can't really help U all that much, but it may be usefull if U drew out your diagram on paper, and then using trial and error, figured out all the points.

    Or u could just draw the diagram in a image file, and just draw the image in the JPanel's draw event. Do do this, U'd have to make a new class that extends JPanel, and then use it in the place of a regular JPanel in ur main class.

  3. #3
    oxano is offline Member
    Join Date
    Sep 2009
    Posts
    5
    Rep Power
    0

    Default

    About what kind of shapes are we talking about?
    Ow just noticed the topic startes posted this in april. ^^

Similar Threads

  1. randomly moving shapes
    By marlon in forum New To Java
    Replies: 3
    Last Post: 10-05-2012, 09:37 AM
  2. Getting User Input to Drawing Shapes
    By mlfatty in forum AWT / Swing
    Replies: 2
    Last Post: 03-04-2009, 06:36 AM
  3. Colors and shapes.
    By Torgero in forum New To Java
    Replies: 14
    Last Post: 10-13-2008, 05:25 PM
  4. Help with basic shapes in java
    By carl in forum Java 2D
    Replies: 1
    Last Post: 07-31-2007, 11:40 PM
  5. Help, basic shapes using java
    By coco in forum AWT / Swing
    Replies: 1
    Last Post: 07-31-2007, 08:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •