Problem:
Question- Using swing, Write a program that displays an 10 by 10 square matrix. 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 sub-matrix that consists of 1's. Highlight the numbers in the block using the red color.
Show the code, demonstrate it works properly and describe what it is doing.