Results 1 to 6 of 6
Thread: GUI for ploting curves
- 01-14-2011, 04:33 PM #1
Member
- Join Date
- Jan 2010
- Posts
- 6
- Rep Power
- 0
-
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.
- 01-14-2011, 04:56 PM #3
Member
- Join Date
- Jan 2010
- Posts
- 6
- Rep Power
- 0
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.
- 01-14-2011, 05:40 PM #5
Member
- Join Date
- Jan 2010
- Posts
- 6
- Rep Power
- 0
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
-
Q:Applet with graphicWindow using openGL to draw lines,Curves etc
By gsmurthy30 in forum Java AppletsReplies: 1Last Post: 06-30-2010, 07:12 PM -
To plot ECDSA curves in java
By SHAGGY in forum New To JavaReplies: 0Last Post: 03-25-2010, 10:34 PM -
Linked Bezier Curves
By Paul Richards in forum Forum LobbyReplies: 1Last Post: 11-15-2008, 05:12 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks