I need some help in getting user input for a word search game I am making in Java using swing. I have everything working and displaying properly such as the game board and the words the user has to find. I am using a 2D array of JPanels to display the individual letters. What I would like to do is draw an oval where the starting point is where the user thinks the beginning of the word is, and then release it when the user is over the end of the word. How would I get the letters of the word in between the clicks? Any help would be greatly appreciated.
Here is the link to my pastebin where the code is for all the classes I am using.