hi im new to java and im having trouble with scanner classes.i have to be able to enter the loan amount, the amount of years the loan will be paid out and it is to display monthly and toal payments for interest rates between 3% and 9%. i have tried everything and keep getting errors....any help!?

12-01-2010, 03:11 PM

rolo91

oh and its to be displayed on a table which is my biggest problem by the way! thanks

12-01-2010, 03:12 PM

KevinWorkman

What have you tried? What errors are you getting? Post an SSCCE that demonstrates the problem, along with the full stack trace of any Exceptions, and make sure to point out line numbers mentioned in the stack trace so we don't have to count lines ourselves.

12-01-2010, 03:13 PM

KevinWorkman

Quote:

Originally Posted by rolo91

oh and its to be displayed on a table which is my biggest problem by the way! thanks

That's a separate problem. Work through this one piece at a time. Get the input first. Then worry about displaying it in a JTable. There will probably even be some intermediary steps you have to work through first.