Doubt regarding checking the game of sudoku (core java)
Hello everyone. I am working on a game of sudoku in core java. Till now I've been able to successfully generate a solution ( consisting of all filled boxes) and a game ( consisting of filled and empty boxes) from the generated solution. Now comes the turn of verifying the numbers (0-9) as inputted by the player against the initially known solution. I am not able to judge the correct event for this purpose. Please help me out. At the front end, I've used one panel ( container panel). On it are placed 9 other panels (blocks) each of which holds 9 text fields. One way is that I use key typed event on individual text fields. This makes a total of 81 events which is not a good option (I hope you too agree with me). Hence, I want an event that can be applied on a panel, either container or block, to get the number entered from the user end and appropriatly handle it. Please suggest me and let me know if I've missed out anything necessary.