print matrix in dialog box
- by Edan
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.