private void actionOk( )
{
	try
	{
		int m = Matrix.getNumOfRows(matrix);
		int n = Matrix.getNumOfColumns(matrix);
		for (int i = 0; i < m; ++i)
			for (int j = 0; j < n; ++j)
				matrix[i][j] = Double.parseDouble(matrixTF[i][j].getText());
	}
	catch( NumberFormatException exc )
	{
		return;
	}
	state = State.OKAY;
	setVisible(false);
}