The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Program files for each of the following programs.
At the beginning of all your programs, put a comment box that includes the program name, your name, and a brief description of the program.
Example:Â
/***********************************************************************Â
Program Name: ProgramName.javaÂ
Programmer's Name: Student NameÂ
Program Description: Describe here what this program will doÂ
***********************************************************************/
How to submit your assignment:
Â
STEP 1: Writing out Client Information
1)Â Â Â Â Â Create the following GUI, so that when your program is running, your user can input information regarding a client and hit the save button to save the information out to a file.
Â
Filename: User enters a filename here (such as client.txt) which is the file to read and write. An error message should display when Display or Save is clicked if there is no filename entered.
Save button:Â
Charles Smith|100235|5700.75|1200.00
James Peterson|320056|349.56|4005.56
Display button:Â
Client Activity Report Client NameÂ
  Client ID Â
  Starting Balance Â
  Closing Balance XXXXXXXXX  Â
  9999999Â
  99999.99 Â
  99999.99 XXXXXXXXX  Â
  9999999   99999.99  Â
  99999.99 XXXXXXXXXÂ
  9999999 Â
  99999.99   99999.99
Grading Rubric
| Standard header included |
1 |
Must contain program name, student's name, and description of the program |
| Lab Report |
5 |
Documents analysis and design, testing with screenshots, multiple test cases |
| GUI is correct |
5 |
Has correct fields and displays correctly |
| Data saved to file with delimiters |
5 |
The data is written to the file and formatted correctly, appends to existing file |
| Error messages if no filename or if missing data |
3 |
All input is validated before processing |
| GUI cleared after a Save |
2 |
Textfields cleared for next input |
| Reads file using String Tokenizer to separate fields |
5 |
The data is read from the file correctly |
| Report displayed in console formatted correctly |
4 |
Data displayed in console correctly |
|
30 |
 |
Â
STEP 2: Snowman!
Use the many draw methods provided to you by Java and draw a Snowman—be as creative or as basic as you would like, as long as the final result resembles a snowman. It doesn't have to necessarily look exactly like this, but this is the minimum you should achieve with your drawing.
Â
1) You must have at least three circles in your project.
2) You must have at least a line, a polygon, an oval, or a rectangle.
3) In addition to your snowman, you should also use drawString to draw some text.
4) Use draw or fill and the color class as you see fit.
Hint:Â frame.getContentPane().setBackground(Color.blue); //This is the code you need to set the frame's background color.
Have Fun!
Snowman Points Description Standard header included
1
Must contain program name, student’s name, and description of the program Program Compiles
1
Program does not have any error Program Executes
1
Program runs without any error Program Output
3
Drawing resembles a Snowman Correct use of Classes/Methods
4
Program contains background color, the shapes asked for, and uses the drawString method
10
-----------