Java Programming Spring 2003 Homework #5 FAQ

Homework #6 FAQ

Question:

How do your create a display for a single day that includes some text (the date) that is right-justified, and other text (events on that day) that is left-justified?

Answer:

Put each text in a JLabel, and you can change the allignment of text withing a JLabel using an alternative constructor:

JLabel j = new JLabel("Foo",Jlabel.RIGHT);
   
Question:

What should the command line look like?

Answer:

It should be just like HW4: java Cal month year

If you want to make the progam able to use a RemotePIMCollection server anywhere, add the hostname of the server as a third parameter. You can also hard-code the server name to monte.cs.rpi.edu.

   
Question:

You said that we don't need to submit HW6 as a separate project as long as we include the functionality in our final project. How do we formalize this?

Answer:

Include a note in your final project README that states that you did not submit a separate HW6, and the calendar in the final project should count as your HW6.