|
@@ -4,8 +4,8 @@
|
4
|
4
|
|
5
|
5
|
A simple cash account <-> bank system implementation (very loosely modelled!)
|
6
|
6
|
|
7
|
|
-This project uses JavaFX for the user interface toolkit. JavaFX is a software platform for creating
|
8
|
|
-and delivering desktop applications, as well as rich Internet applications (RIAs)
|
|
7
|
+This project uses JavaFX for the user interface toolkit. JavaFX is a software platform for creating
|
|
8
|
+and delivering desktop applications, as well as rich Internet applications (RIAs)
|
9
|
9
|
that can run across a wide variety of devices. It is part of the standard Java distribution.
|
10
|
10
|
|
11
|
11
|
Welcome to your first App. "ZipCloudBank", a local Wilmington fintech startup, has a minimally
|
|
@@ -16,24 +16,24 @@ The Board of Directors of ZipCloudBank have empowered me to let you take a crack
|
16
|
16
|
and improving their app over this weekend. Impressed that you are a ZipCode student, they are
|
17
|
17
|
expecting great things. Don't panic: we think you can do this.
|
18
|
18
|
|
19
|
|
-The point of this lab is to read thru some existing code, in this case, a program/app that
|
|
19
|
+The point of this lab is to read thru some existing code, in this case, a program/app that
|
20
|
20
|
launches a window on your computer and lets you play with a couple of "banking accounts".
|
21
|
21
|
You should run the app, learn how to use it, so you understand what it does. It is not,
|
22
|
22
|
shall we say, user-friendly. So you may find what you have to do to make it work somewhat
|
23
|
|
-awkward.
|
|
23
|
+awkward.
|
24
|
24
|
|
25
|
|
-Then, you should read thru the code repository seeing how the code actually implements the things you
|
|
25
|
+Then, you should read thru the code repository seeing how the code actually implements the things you
|
26
|
26
|
see when you run the code. Find the "main" routine, which is where the app starts up. Trace from there
|
27
|
27
|
to see what code gets called where and when. Trace how the operations of the code work.
|
28
|
28
|
|
29
|
29
|
Finally, you are to add some new functionality to the app, to make it "more useful, powerful &
|
30
|
|
-more rewarding for the user".
|
|
30
|
+more rewarding for the user".
|
31
|
31
|
Your effort will be met with promotions, parades, and stock options. (no, just kidding).
|
32
|
32
|
|
33
|
33
|
Lab Brief
|
34
|
34
|
=========
|
35
|
35
|
|
36
|
|
-Notice the structure of the current project before you start. Read thru the
|
|
36
|
+Notice the structure of the current project before you start. Read thru the
|
37
|
37
|
code up here on git.zipcode.rocks.
|
38
|
38
|
Read thru the code. READ THRU THE CODE.
|
39
|
39
|
READ THRU THE CODE.
|
|
@@ -63,23 +63,23 @@ Notice when reading the code...
|
63
|
63
|
Things to Change for the Lab
|
64
|
64
|
============================
|
65
|
65
|
|
66
|
|
-FIRST, fork this repo into your own account.
|
|
66
|
+FIRST, fork this repo into your own account.
|
67
|
67
|
=====================================
|
68
|
68
|
|
69
|
|
- After getting each of these items completed,
|
70
|
|
- be sure to do a 'git commit' to save you work.
|
|
69
|
+ After getting each of these items completed,
|
|
70
|
+ be sure to do a 'git commit' to save you work.
|
71
|
71
|
Learn your git.
|
72
|
|
- Never Lose Code.
|
|
72
|
+ Never Lose Code.
|
73
|
73
|
NEVER LOSE CODE. EVER. :-)
|
74
|
74
|
|
75
|
75
|
How about making a new git branch, named "dev" from the master branch for you to do all
|
76
|
76
|
your work in?? (what great idea!)
|
77
|
77
|
|
78
|
|
-NOW, maybe you're ready to start making changes.
|
|
78
|
+NOW, maybe you're ready to start making changes.
|
79
|
79
|
|
80
|
80
|
|
81
|
81
|
|
82
|
|
-* Add more accounts to the default constructor of the Bank class.
|
|
82
|
+X * Add more accounts to the default constructor of the Bank class.
|
83
|
83
|
* When you overdraft an account, print an alert message to the areaInfo object on the window.
|
84
|
84
|
|
85
|
85
|
Additional things to add
|
|
@@ -89,24 +89,18 @@ You need not do these things in this order. Do as many as you can. When you fini
|
89
|
89
|
make sure the project runs. (Else the Board... well, disappointment lies that direction.)
|
90
|
90
|
---------------------
|
91
|
91
|
|
92
|
|
-* Make the account display more user friendly
|
93
|
|
- * add a Form layout that has separate TextFields for each piece of account info.
|
94
|
|
- * You'll probably find a layout that lets you do this, a little like the FlowPane.
|
95
|
|
- * Make the login stuff more clear
|
96
|
|
- * Disable the three buttons that operate on an account until a login happens
|
97
|
|
- * and then enable them. add another TextField for the amount entries.
|
98
|
|
- * Make it different from the TextField where you set the account ID.
|
|
92
|
+Make the account display more user friendly
|
|
93
|
+X * Add a Form layout that has separate TextFields for each piece of account info. You'll probably find a layout that lets you do this, a little like the FlowPane.
|
|
94
|
+X * Make the login stuff more clear
|
|
95
|
+X * Disable the three buttons that operate on an account until a login happens and then enable them.
|
|
96
|
+X * Add another TextField for the amount entries. Make it different from the TextField where you set the account ID.
|
|
97
|
+X * Enable the amount entries to be floating point numbers instead of just integers when doing deposits and withdrawals.
|
|
98
|
+X * Add a menu with a list of accounts in it and the menu action switched to that account. You may find that JavaFX already has such a thing.
|
99
|
99
|
|
100
|
|
-* Enable the amount entries to be floating point numbers instead of
|
101
|
|
- just integers when doing deposits and withdrawals.
|
102
|
|
-
|
103
|
|
-* Add a menu with a list of accounts in it and the menu action switched
|
104
|
|
- to that account. You may find that JavaFX already has such a thing.
|
105
|
|
-
|
106
|
|
-**** Add a New Account Window(!) that takes in the info required thru
|
107
|
|
- TextFields and creates the correct objects so that is can be changed
|
|
100
|
+**** Add a New Account Window(!) that takes in the info required thru
|
|
101
|
+ TextFields and creates the correct objects so that is can be changed
|
108
|
102
|
like the pre-wired accounts.
|
109
|
103
|
|
110
|
|
-NB: When googling for information on how to do all this,
|
111
|
|
-be sure you start every query with "javafx " and your other search terms.
|
|
104
|
+NB: When googling for information on how to do all this,
|
|
105
|
+be sure you start every query with "javafx " and your other search terms.
|
112
|
106
|
That will limit the results to things that probably are closer to what you need.
|