-
[RESOLVED]GUI Help
I'm having some problems with my GUI. I am making a Sudoku game. I am using a JFrame for the window and i have I have a 9x9 text field array. There is also a hint button for this. When the hint button is clicked, it displays the answer for that cell which the user selected.
My problem is that I cant find anyway to see if one of these cells are selected. Any ideas?
-
Re: GUI Help
can you upload a screen shot of this jframe
cause I don't get it
-
Re: GUI Help
I think he wants to find out if the user selected a textfield.... Textfields were a bad choice in my opinion, because you may never find out if they selected it unless they are allowed to enter text or the background changes. Use buttons and then you can easily find out which array index was selected.