报错的提示如下
스레드 "AWT-EventQueue-0"의 예외 java.lang.ArrayIndexOutOfBoundsException: org.liky.game.frame.FiveChessFrame.checkCount(FiveChessFrame.java:280에서 길이 20에 대해 인덱스 -1이 범위를 벗어났습니다. ) org.liky.game.frame.FiveChessFrame.checkwin(FiveChessFrame.java:183), org.liky.game.frame.FiveChessFrame.mousePressed(FiveChessFrame.java:141), java.desktop/java.awt.Component에 있습니다. java.desktop/java.awt.Component.processEvent(Component.java:6379)의 java.desktop/java.awt.Container.processEvent(Container.java:2263)의 java.desktop에서 processMouseEvent(Component.java:6611) /java.awt.Window.processEvent(Window.java:2046), java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4990), java.desktop/java.awt.Container.dispatchEventImpl(Container.java) :2321), java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2769), java.desktop/java.awt.Component.dispatchEvent(Component.java:4822), java.desktop/java.awt. java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)의 EventQueue.dispatchEventImpl(EventQueue.java:772), java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)의 java.base/java.security.AccessController.doPrivileged(AccessController.java:391)에서 java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)에서 java.base/java.security.ProtectionDomain에서 $JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743 ) java.base/java.security.AccessController.doPrivileged(AccessController.java:391), java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85), java.desktop/java.awt. java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)의 java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)의 Java에서 EventQueue.dispatchEvent(EventQueue.java:742) .desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) - java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) - java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread) .java:101), java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)