How do I create a Java app that solves the quadratic formula?
October 23, 2011 – 4:00 pmI want to create a program that solves quadratic equations. I have already written the code in NetBeans IDE, but I don’t know how to create a program that I can launch. Basically it should have three input boxes for variables A, B, and C and a "start" or "solve" button. How would I do this? Is there a Java program creator that I could use? I am a beginner so please keep it simple. Thanks!
Related posts:
- How could I programme php web program,that solves quadratic equatios?
- How can i create an Excel spreadsheet in Java on Mac OS X?
- How can I programme php web program,that solves quadratic equatios?
- What are the main softwares or programs needed to create a java application?
- What applications are required to create program or phone application using Java?
- how can i create a bouncing ball animation in Java?
- How do you create a button on java?
- How to create a single frame application in java?
- How to create a single frame application in java?
- In Java Programming Language, how could I create a variable with a randomly selected letter value?
2 Responses to “How do I create a Java app that solves the quadratic formula?”
If you want a GUI, that is done with a library known as Swing. You can see the topics list in the Oracle Java tutorials, here:
http://download.oracle.com/javase/tutorial/uiswing/TOC.html
Here is a good example with discussion:
http://download.oracle.com/javase/tutorial/uiswing/components/text.html
By McFate on Oct 23, 2011
Honestly, it’s not hard at all, in fact I can reference you to pages that will get you input/output for Java.
http://www.codeproject.com/KB/java/javabasicsio.aspx
By Tyler M on Oct 23, 2011