Search:

Type: Posts; User: sanjam58

Search: Search took 0.15 seconds.

  1. Replies
    5
    Views
    770

    Re: JAVA LOOP HELP!!!

    don't worry,, i will try to solve it myself... sorry for trouble...
  2. Replies
    5
    Views
    770

    Re: JAVA LOOP HELP!!!

    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...
  3. Replies
    5
    Views
    770

    JAVA LOOP HELP!!!

    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...
  4. Re: Help me calculate which element of the grid the mouse was in when it was clicked.

    Thank you very much... your suggestion really helped me out... ^:)^
  5. Re: Help me calculate which element of the grid the mouse was in when it was clicked.

    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)...
  6. Re: Help me calculate which element of the grid the mouse was in when it was clicked.

    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)
  7. Re: Help me calculate which element of the grid the mouse was in when it was clicked.

    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...
  8. Help me calculate which element of the grid the mouse was in when it was clicked.

    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...
Results 1 to 8 of 8