then when array is full print out all the stored values on the screen in a 10x10 matrix.
do i have it right so for and i cant work out this last part
plz help

this is what i have so far
Code:
import java.awt.*;
import java.applet.*;
import java.awt.event.*
public class TwoDDrray extends Applet implements MouseListener{
int[] lmb[10,10];
int d1 = 0
int d2 = 0
public TwoDDrray()
{
addMouseListener ( this ) ;
setBackground (java.awt.Color.blue ) ;
}
public void mouseClicked( MouseEvent ev ) {
do{
if (d2<9)
d2++;
eles (
set d2=0
d1++;
)
}while (counter < 9);
}
if (d1<9)
{
lmb[d1][d2] = ev.getX();
repaint ();
}
eles
Print out all the stored values ?
}

