Ok, sorry I am really new to a lot of this and don't really know what you mean by posting in code tags. I also don't understand the errors so that is why I am asking. If no one knows how to fix it no big deal. I am just trying to learn something. Thanks for all the help.
Giving up when asked to put a little more effort wont help you to learn quickly.
e.g The first error says the compiler found an int when it was expecting to get a String. This is very valuable information ...
Sorry again, I am not giving up. I am just so new to this and don't know enough sometimes to bridge steps. I also don't have a manual or any resources that helps me understand error messages. That is why I am asking what the mistakes are, so I can match them up with the error messages I am getting and understand better in what they all mean. Also, learning from others mistakes helps me to understand programming better. The calendar is not my calendar, it's some elses. I am just trying to understand what's wrong with it. Thanks.
Sorry again, I am not giving up. I am just so new to this and don't know enough sometimes to bridge steps. I also don't have a manual or any resources that helps me understand error messages. That is why I am asking what the mistakes are, so I can match them up with the error messages I am getting and understand better in what they all mean. Also, learning from others mistakes helps me to understand programming better. The calendar is not my calendar, it's some elses. I am just trying to understand what's wrong with it. Thanks.
That thread in the articles section really is worth looking at. It's got some very important links including Sun's own Java tutorial.
IMHO it makes more sense to start using the GregorianCalend ar and really
understand what it can do (and what it can't). I reread that piece of code you
borrowed and it's full of mistakes (look at that leapyear method for an obvious
example). Also IMHO you won't learn anything from that code.
Priniting a calendar for a month is nothing more than a bit of formatting and
using that Gregorian calendar.
Comment