- Understand the problem.
- Understand the UI requirements.
- Understand what (things) will be required to solve the problem:
- what are (expected) inputs, how many, etc.?
- what are (expected) outputs, how many, etc.?
- what are required objects?
- what are required events?
- Plan the solution, using pseudocode (and pencil and paper). Determine what objects
and events will be required, and identify their names on paper. Also determine what
variables will be required, what type each will be, and the name of each. The more
thorough and the better detailed this step is, the more trouble you will save yourself
later.
- Start NetBeans IDE and open project (either new or existing).
- Name the solution/project appropriately.
- declare constants as needed **
- declare variables as needed **
- comment as necessary along the way
- set any initial values required
- assign values FROM input control objects to variables, performing any required type
conversion (using conversion functions) along the way.
- perform all calculations/computations on variables
- assign values FROM variables to output control objects, performing any required
formatting or type conversion along the way.
- Test and validate actual results match expected results. If testing does not produce
correct or expected results, go back to previous step(s). Nature of failure should
determine how many steps to examine and/or redo.
Note: SAVE along the way.
** Indicates that good naming conventions should be used
along with other proper case requirements.