don't worry,, i will try to solve it myself... sorry for trouble...
Type: Posts; User: sanjam58
don't worry,, i will try to solve it myself... sorry for trouble...
My problem is , I don't know how to use the NumCounters method from the from the "AbacusModel class" inside the paint method of "AbacuPanel class" to create a loop so that the program can...
In this program, I need help in creating a loop in the paint method of Abacus Panel Class whose purpose is to find out the number of counters and draw these counters in the row of the selected...
Thank you very much... your suggestion really helped me out... ^:)^
Can you help me figure out which part of my Arithmetic is faulty and suggestion to get it right because am really stuck in this problem though-out the day.
(Reference for assumming rows (x-axis)...
I am also new to co-ordinates and I am assuming rows (x-axis) and columns (y-axis)
Output on each square on top row (left to right)
(0,0)
(0,1)
(0,1)
(0,2)
(0,3)
(0,3)
(0,4)
According to my program, I have made a grid which consists of 5 columns and 7 rows.. when I click on the top right element it gives me output 0,4 which is wrong...because it is on row no.6 and...
For example, if the user clicks in the top-left element, program could print out, on the console, "Mouse" clicked in element 0,0". So far this is what I have done. the program compiles but most of...