Project Aug 5.
Here is a simple animation Demo.
Advice
Here are sample input and output files for assignments 3.
Sample input file
Sample output on this input file
Often we find students encounter similar problems on an assignment.
When that happens, we post advice here.
Due dates
Assignments are due on the date shown on the assignment.
Printing assignment 2
The second assignment requires a command line argument. VAJava accepts
command line arguments in its run dialog box but it turns out that the
new PJA doesn't accept command line arguments. I have arranged with the
system administrator to modify the older version of PJA which now allows
the input of a command line argument.
Hints for assignment 2:
Use a highlighter and highlight each class constructor and public method.
The constructor's parameters will help you to understand what an object's
initial state will be.
A method's parameters and return type will help you to understand what
is does.
Implement FormatLine first.
I imported StringTokenizer in all three classes, if you look at the
web page. You should cut and paste these files to VAJava. The paper handout
shows one import statement and three classes together because they were
in one file and I was using JDK. You have to import anything not provided
by the API.
Solutions
Solutions are (of course) not made available until all students in the
course have submitted their work.