|
-
Mar 1st, 2006, 02:18 PM
#1
Thread Starter
Lively Member
[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?
Last edited by fartman_900; Mar 4th, 2006 at 04:33 PM.
-
Mar 3rd, 2006, 05:03 AM
#2
Re: GUI Help
can you upload a screen shot of this jframe
cause I don't get it
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Mar 3rd, 2006, 06:17 AM
#3
Frenzied Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|