print matrix in dialog box

Posted by Edan on Stack Overflow See other posts from Stack Overflow or by Edan
Published on 2010-03-29T06:31:02Z Indexed on 2010/03/29 6:33 UTC
Read the original article Hit count: 408

Filed under:

Hello,

I'm having a little difficulty to print a matrix array on dialog box. The matrix is integer and as far as i understood i need to change it into string?

anyway, here's the code:

public void print_Matrix(int row, int column) {

  for (int i = 0; i <= row; i++)


  {
      for (int j = 0; j <= column; j++)
      {
          JOptionPane.showMessageDialog(null, matrix_Of_Life);
      }
  }

what I need to do in order to print array into dialog box?

thanks.

© Stack Overflow or respective owner

Related posts about java