Results 1 to 4 of 4
  1. #1
    xyne02 is offline Member
    Join Date
    Sep 2011
    Posts
    2
    Rep Power
    0

    Default how can i make cartesian plane using java?

    Guys, how can i make cartesian plane using java? and how am i able to plot lines on it? and is there anyway that it would appear in an applet?

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: how can i make cartesian plane using java?

    The easiest way is to use a library that already does much of this for you such as JFreeChart. If you can't use this and must do it on your own you would do this by writing Swing graphics code that does this, usually in the paintComponent method of a JPanel. The tutorials that can help you get started can be found here:

    Performing Custom Painting
    2D Graphics

  3. #3
    xyne02 is offline Member
    Join Date
    Sep 2011
    Posts
    2
    Rep Power
    0

    Default Re: how can i make cartesian plane using java?

    thnx a lot! got an idea on 2D..

  4. #4
    Ike
    Ike is offline Member
    Join Date
    Aug 2011
    Posts
    21
    Rep Power
    0

    Default Re: how can i make cartesian plane using java?

    And how do you use libraries?
    What should I do after the download?

Similar Threads

  1. Replies: 2
    Last Post: 07-18-2011, 01:45 PM
  2. Replies: 1
    Last Post: 01-15-2011, 10:27 AM
  3. Cartesian coordinate system (X > 0, Y>0)
    By cselic in forum Java 2D
    Replies: 0
    Last Post: 07-02-2010, 01:54 PM
  4. Cartesian plane problem
    By thats_kickin in forum New To Java
    Replies: 3
    Last Post: 03-30-2010, 10:14 PM
  5. java reservation class plane seat and reservation classes
    By cool_guy364 in forum Advanced Java
    Replies: 2
    Last Post: 10-15-2009, 09:56 AM

Posting Permissions

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