Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. import java.util.*;
  2.  
  3. /**
  4. * Write a description of class AccountTUI here.
  5. *
  6. * @author James Blenkinsop
  7. * @version 1.1
  8. */
  9. public class AccountTUI
  10. {
  11.  
  12. private AccountList accountList;
  13. private Scanner myScanner;
  14.  
  15. public void accountTUI()
  16. {
  17. accountList = new AccountList();
  18. myScanner = new Scanner (System.in);
  19.  
  20. }
  21.  
  22.  
  23. public void menu()
  24. {
  25. displayMenu();
  26. command = getCommand();
  27. execute ( command );
  28. }
  29.  
  30.  
  31. private void displayMenu()
  32. {
  33. System.out.println( "Options are" );
  34. System.out.println(" Get Number Of Accounts 1");
  35. System.out.println(" Remove Account 2");
  36. System.out.println(" Show Account 3");
  37. System.out.println(" Show All Account 4 4");
  38. System.out.println(" Quit 0");
  39. }
  40.  
  41. private void execute (int command)
  42. {
  43. }
  44.  
  45. private int getCommand();
  46. {
  47. }
  48.  
  49. private void getNumberOfAccounts()
  50. {
  51. }
  52.  
  53. private void quitCommand()
  54. {
  55. }
  56.  
  57. private void removeAccount()
  58. {
  59. }
  60.  
  61. private void showAccount()
  62. {
  63. }
  64.  
  65. private void showAllAccounts()
  66. {
  67. }
  68.  
  69. private void unknownCommand (int command)
  70. {
  71. }
  72.  
  73.  
  74. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement