This question's due date has already passed. You may post a tutorial, but there's no guarantee that the original asker will purchase the tutorial. But other people might!

Question

$25.00 Java programing help

Asked by :
teaserpicks
teaserpicks
Rating :No Rating
Questions Asked: 10
Tutorials Posted: 0
 
 
Q:

Week 4, the assignment should be a stand-alone application.

This assignment should be an application, not an applet, written in Java with a graphical user interface.  The assignment is to write an application that throws and catches an exception, using an exception type defined by the student, when the program attempts to take the square root of a negative value.

 

The program should contain a textfield to allow a user to enter a number and a button to allow the user to take the square root of the number.

 

Prompt the user for a number and try to calculate the square root of the number using the Math.sqrt() method.  When the button is pressed, the application either displays the square root of the number or, if the number is negative, catches and throws an exception defined by the student.  The exception handler should cause the display of an appropriate message.  The exception should be of an exception type or class defined by the student.

 

At a minimum the application should contain a text field for input, JButton that executes the calculation, and a text field to show the results of the calculation.

 

All input and output should be through the GUI not via the console.

 

Please insert comments in the program to document the program.  At a minimum the documentation should include the student’s name and a description of the program.  The code should be written using the Standard Java imports that were included in the SDK/JDK.  To simplify the compilation of the programs by your peers, please do not use packages.

 

Note that the use of Java Integrated Development Environments (IDEs) and Editors, such as NetBeans, are not allowed.  Text editors should be used to create the programs.

 

Available Tutorials to this Question
 
$10.00
Square Root using Java GUI. As discussed.
  • This tutorial was purchased 1 time and rated No Rating by students like you.
  • Posted on Apr. 27, 2012 at 11:12:53AM
Posted by :
phoenix85
 
A:
Preview: ... ill attac ...

The full tutorial is about 10 words long .
  • This tutorial has appended information.
 
$15.99
Sqaure Root -> A+ Swing based program in Java.
  • This tutorial was purchased 1 time and rated No Rating by students like you.
  • Posted on Apr. 27, 2012 at 11:34:27AM
Posted by :
just2helpU
just2helpU Not confirmed
Rating (359):A
Questions Asked: 4
Tutorials Posted: 845,
Earned: $21,444.75
 
A:
Preview: ... sed progr ...

The full tutorial is about 9 words long plus attachments.

attachmentlogo

Attachments:
SquareRoot.zip (46K) 

 negative_input.jpg
 square_root.jpg
 SquareRoot.java
 ]

 
$10.00
An A++ solution. properly commented. with input validations and snapshot. strictly according to requirements
  • This tutorial was purchased 1 time and rated No Rating by students like you.
  • Posted on Apr 27, 2012 at 12:03:02PM
Posted by :
optimalsolutions
 
A:
Preview: ... ing to requirements. You just need to enter ...

The full tutorial is about 33 words long plus attachments.

attachmentlogo

Attachments:
MyException.java (0K) (Preview)
SquareRoot.java (3K) (Preview)
SquareRoot.jpg (19K)
Negative_Input.jpg (33K)
 
$10.00
A+ solution with screenshot
  • This tutorial was purchased 1 time and rated No Rating by students like you.
  • Posted on Apr 27, 2012 at 6:05:17PM
Posted by :
lightsource
lightsource Not confirmed
Rating (2356):A+
Questions Asked: 4
Tutorials Posted: 5434,
Earned: $110,897.37
 
A:
Preview: ... lease s ...

The full tutorial is about 13 words long plus attachments.

attachmentlogo

Attachments:
SquareRootApp.java (1K) (Preview)
SquareRootException.java (0K) (Preview)
screenshot_sqrt.jpg (17K)
 
$10.00
Java Square Root with GUI : Fully commented code with ScreenShots
  • This tutorial was purchased 1 time and rated No Rating by students like you.
  • Posted on Apr 27, 2012 at 7:37:30PM
Posted by :
SB_Solutions
SB_Solutions
Rating (38):A+
Questions Asked: 0
Tutorials Posted: 294,
Earned: $3,246.77
 
A:
Preview: ... d Test ...

The full tutorial is about 6 words long plus attachments.

attachmentlogo

Attachments:
SquareRootSolution.zip (26K) 

 SquareRootSolution/Readme.txt
 SquareRootSolution/ScreenShot1.JPG
 SquareRootSolution/ScreenShot2.JPG
 SquareRootSolution/ScreenShot3.JPG
 SquareRootSolution/SquareRoot.java
 ]