Create a Java code that outputs a Sudoku board,9 buttons,and a check button same
ID: 3679628 • Letter: C
Question
Create a Java code that outputs a Sudoku board,9 buttons,and a check button same as the picture below.The user will then fill up the rest of the square board that don’t have a number by clicking a numbered button. The square board will then change to that number. The user will then click the button CHECK to see if there is no duplicates numbers in a row and column based on the Sudoku rule. If there is duplicate numbers then the color of the number will change to red. If there is no duplicate numbers then the color of the number remains in color black. Run the java code in Eclipse.Below is an example of how the Sudoku must be.Do not include any message dialog when running the progam.When the program starts to run it should be the same as the picture.The picture below has the Sudoku board and the 9 buttons but you must include the check button as well to check if there is no duplicate numbers.Add the 9 buttons so when the user clicks a button the number will appear in the square board.
Explanation / Answer
Hope this will help you!!