Problem:
Question 1: Discuss some of the factors that may help guide an architect - designer when to select between the facade and Adapter and Bridge pattern during design
Question 2: Write a program that displays a 10-by-10 square matrix. Each element in the matrix is 0 or 1. randomly generated. Display each number centered in a text field. Use TextField's setText method to set value 0 or 1. must be displayed as GUI.
Write the code step by step and explain it.