I see the rows and cols are stored in the private fields (this.rows, this.cols), read them in the method just the same (this.rows, this.cols) instead of trying to pass as parameters (don't add static specifier to the method).
When setting an event handler you can specify only the name of the method.