How do I create a Java app that solves the quadratic formula?

October 23, 2011 – 4:00 pm

I 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:

  1. How could I programme php web program,that solves quadratic equatios?
  2. How can i create an Excel spreadsheet in Java on Mac OS X?
  3. How can I programme php web program,that solves quadratic equatios?
  4. What are the main softwares or programs needed to create a java application?
  5. What applications are required to create program or phone application using Java?
  6. how can i create a bouncing ball animation in Java?
  7. How do you create a button on java?
  8. How to create a single frame application in java?
  9. How to create a single frame application in java?
  10. In Java Programming Language, how could I create a variable with a randomly selected letter value?
  1. 2 Responses to “How do I create a Java app that solves the quadratic formula?”

  2. 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

  3. 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

Sorry, comments for this entry are closed at this time.