Find Largest Block by Y. Daniel Liang
Write a program that displays a 10 by 10 square matrix, as shown in Figure a. Each element in the
matrix is 0 or 1, randomly generated with a click of the Refresh button. Display each number
centered in a text field. Use text field for each entry. Allow the user to change the entry value.
Click the Find Largest Block button to find a
largest square submatrix that consists of 1ís. Highlight the numbers in the block using the red color.