Rohan,
Although
you should have been raised the same question in bigginers section there you can get the right answer, But for now you can make a simple search on the
word wordgame or crossword and you will get a lot of links where you can even find the whole source code for the same application but for the
applets not for j2me and then porting it to j2me will not be a big matter for you.
For help i am giving a little code for writing a 4 char word into the matrix in a 5*5 matrix
int wchf=0;
int m=1,n=1;
for(int j=0;j<=m;j++)
{for(int k=0;k<=n;k++)
{for(int l=0;l<4;l++)
if(ch_val[j+l][k+l]==0 || str[i].charAt(l)==ch_arr[j+l][k+l])
wchf++;
if(wchf==4)
{
for(int l=0;l<4;l++)
{
ch_arr[j+l][k+l]=str[i].charAt(l);
ch_val[j+l][k+l]=1;
}
break;
}
wchf=0;
This is the part of code which i used in my application
Rishi}