Question: java programming In this problem, you will create an electronic game board that can be used to play Connect Four. The final GUI will contain



java programming
In this problem, you will create an electronic game board that can be used to play Connect Four. The final GUI will contain 42 (6 x 7) panes that contain either a white, yellow or red circle. Figure 1 shows an example board. ConnectFourPane Class: The ConnectFourPane class is an extended StackPane that will display a single white, yellow or red circle. There are two constructors: a no-arg constructor that creates a white circle and a constructor with a single character parameter containing ('w, 'y' or T') indicating what color circle should be initially displayed in the pane. The class has a single character property named color that will contain either a 'w, 'y' or r indicating what color circle is currently displayed in the pane. Figure 1 Connect Four Board A. Complete the UML class diagram for the encapsulated ConnectFourPane class. The class includes the constructors mentioned above, a setRadius() method for the circle and the circle (Circle) and color (char) properties (5pts)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
