The ClickGamesheetListener class is an extension of the MouseAdapter which if instantiated and binded to a control, reacts to an incoming event by: a) Checking if its the players turn, b) Checking whether the player clicked on a directly-manipulatable score slot on the JTable ( for example, the intermediate sum and total sum slots cannot be manipulated directly), c) Checking whether the player clicked on a score slots that has not yet been used (hasn't had a score entered into it), d) If all the previous checks are passed, broadcasting an "Insert" command with an attached player name and row index via the comm. module
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.