at java.awt.AWTEventMulticaster.mouseExited(Unknown Source) occur after using the GUI for several times
问题 Good Morning, i'm implementing the GUI for a game and when i play the game for sometime i get an endless number of this exception then the game freezes, any help on what is the problem or how to fix it is much appreciated here is the code: public class BoardFrame extends JFrame implements MouseListener { private void boardWithoutCheckers() { for(int i=0; i<8; i++) { for(int j=0; j< 8; j++) { if(((i + j) % 2) == 0){ boardFrame[i][j] = new LightGrayButton(); } else { boardFrame[i][j] = new