akosiraff

Download CIS355A Week 5 iLab

Aug 10th, 2015
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.03 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/cis355a-week-5-ilab/
  3. CIS355A Week 5 iLab
  4. iLab 5 of 6: GUI Graphics and File I/O
  5. STEP 1: Writing out Client
  6. Information
  7. 1) Create the following GUI, so that when your program is running, your user can input information
  8. regarding a client and hit the save button to save the information out to a file.
  9. 2) Every time the user hits the save button, that information should be saved out to a file called
  10. client.txt; each new client’s information should append to the information already saved onto the file
  11. client.txt.
  12. 3) The data in the client.txt file should be formatted like the following.
  13. Client Name Client ID Starting Balance Closing Balance
  14. XXXXXXXXX 9999999 99999.99 99999.99
  15. XXXXXXXXX 9999999 99999.99 99999.99
  16. XXXXXXXXX 9999999 99999.99 99999.99
  17. Writing Client
  18. Information
  19. Standard header
  20. included
  21. Program Compiles 2 Program does not have any error
  22. Program Executes 2
  23. Data Output is Correct 5 The data is written and formatted correctly
  24. GUI is Correct 5
  25. Subtotal 15
  26. STEP 2: Reading in Client
  27. Information
  28. 1) Create a class called Client, the Client class must contain attributes for Client name, Client ID,
  29. starting balance, and closing balance, and all other accessor/mutator/constructor functions as
  30. necessary.
  31. 2) Assume you have a client.txt file with the following sample information.
  32. Charles Smith|100235|5700.75|1200.00
  33. James Peterson|320056|349.56|4005.56
  34. Francis Lewis|400556|7500.00|456.23
  35. William Burgess|45399|5000.00|1245.56
  36. Philip Wilson|10090|10000.00|2300.75
  37. James Brown|34291|25000.45|31454.86
  38. 3) Create a Client ArrayList to process input records in main().
  39. 4) Use a for loop to read in the information from client.txt.
  40. 5) The GUI to this program should look similar to this:
  41. 6) Once the user hits the display button, everything read in from the file should display in the
  42. Console window in this format.
  43. Client Name Client ID Starting Balance Closing Balance
  44. XXXXXXXXX 9999999 99999.99 99999.99
  45. XXXXXXXXX 9999999 99999.99 99999.99
  46. XXXXXXXXX 9999999 99999.99 99999.99
  47. Reading in Client
  48. Information
  49. Standard header
  50. included
  51. Program Compiles 2 Program does not have any error
  52. Program Executes 2 Program runs without any error
  53. Client ArrayList used 3
  54. Data Read in Correctly 3
  55. GUI is Correct 4
  56. Subtotal 15
  57. STEP 3: Snowman! Back to Top
  58. Use the many draw methods provided to you by Java and draw a Snowman—be as creative or as
  59. basic as you would like, as long as the final result resembles a snowman. It doesn’t have to
  60. necessarily look exactly like this, but this is the minimum you should achieve with your drawing.
  61. 1) You must have at least three circles in your project.
  62. 2) You must have at least a line, a polygon, an oval, or a rectangle.
  63. 3) In addition to your snowman, you should also use drawString to draw some text.
  64. 4) Use draw or fill and the color class as you see fit.
  65. Hint: frame.getContentPane().setBackground(Color.blue); //This is the code you need to set the
  66. frame’s background color.
  67.  
  68. Download: http://solutionzip.com/downloads/cis355a-week-5-ilab/
Add Comment
Please, Sign In to add comment