How to program java GUI?

Write a Java GUI program to perform add, subtract, multiply, and divide operations?

  • Write a Java GUI program to perform add, subtract, multiply, and divide operations from two numbers. As shown in this link http://galileo.aamu.edu/it/HW6_Due_20120412.pdf THIS IS JAVA... PLEASE NO RUDE COMMENTS

  • Answer:

    Download and install Netbeans, fire up its built in GUI designer.. Add 2 text boxes for input numbers, Add 4 buttons for operations, add 1 text box for the result, add 1 button to clear all the boxes. In each button tell it to take what's in the two boxes and works with it how you want and put it in the 3rd text box.. Make the clear button blank the other 3.. I'm too lazy to put in actual code but Netbeans will do the hard part.. Good Luck :D EDIT: Did I mention the GUI designer is drag and drop ;)

Mya at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.