Results 1 to 6 of 6
  1. #1
    janes is offline Member
    Join Date
    Jan 2010
    Posts
    6
    Rep Power
    0

    Default GUI for ploting curves

    Hi, I need help to create a GUI. I have established a program for ploting curves but do not know how make the GUI. Can you help me please someone?
    <mod edit: email deleted>
    Last edited by Fubarable; 01-14-2011 at 04:40 PM.

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

    Default

    Email deleted as that's not how this forum works. As written, your question isn't answerable other than to refer you to the Swing tutorials. Please try to give us as specific a question as possible.

    Luck.

  3. #3
    janes is offline Member
    Join Date
    Jan 2010
    Posts
    6
    Rep Power
    0

    Default

    I have written program which plots the object. And now I need to do for the program GUI. But does not know how. I never gui done. The program must include, for example ploted picture save or load parameters.

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

    Default

    Quote Originally Posted by janes View Post
    I have written program which plots the object. And now I need to do for the program GUI. But does not know how. I never gui done. The program must include, for example ploted picture save or load parameters.
    So what you need to do is learn how to code a GUI such as a Swing GUI. There's no way that any of us could teach you how to do this without re-writing a tutorial, and better ones are out there, and we're certainly not going to write this for you. I suggest that you start here: Using Swing Components

    Then if you hit a snag in your studies and need a specific question answered, please feel free to come on back, show your code and ask your question.

    Best of luck.

  5. #5
    janes is offline Member
    Join Date
    Jan 2010
    Posts
    6
    Rep Power
    0

    Default

    ok I have a question, I did one class that renders the curve, now I want to do select the color, I make a new class?

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

    Default

    Quote Originally Posted by janes View Post
    ok I have a question, I did one class that renders the curve, now I want to do select the color, I make a new class?
    No, I don't think so. Creating the curve is a relatively complex task that may need to be done in its own thread, so it makes sense to me to do this in its own class, but setting the color of a GUI graphic element requires but a single line of code, so creating a class for this may be overkill. Of course this recommendation my change if your requirement changes. For instance if you are going to display multiple data points on a single gui, with each curve being shown in a different color, then perhaps you would want to create a class whose objects holds the data points for a single curve and its color.

Similar Threads

  1. Replies: 1
    Last Post: 06-30-2010, 07:12 PM
  2. To plot ECDSA curves in java
    By SHAGGY in forum New To Java
    Replies: 0
    Last Post: 03-25-2010, 10:34 PM
  3. Linked Bezier Curves
    By Paul Richards in forum Forum Lobby
    Replies: 1
    Last Post: 11-15-2008, 05:12 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
  •