When you have a problem, please give us a complete description of it - full text of any error messages, or an exact description of what's wrong with the output.
Anyway... this is a GUI program, and on line 31 you get monthNumber from the field in your GUI - that's OK - but then you use a Scanner to replace that value with one from the console - that looks like a mistake.
JamesCherrill
... trying to help
8,516 posts since Apr 2008
Reputation Points: 2,583
Solved Threads: 1,455
Skill Endorsements: 30
Yes, OK, but what are lines 32 and 33 doing there - the input is in the text field, not in System.in. Just delete those 2 lines and see what happens.
JamesCherrill
... trying to help
8,516 posts since Apr 2008
Reputation Points: 2,583
Solved Threads: 1,455
Skill Endorsements: 30
Question Answered as of 1 Year Ago by
JamesCherrill
and
DarkLightning7