Results 1 to 3 of 3

Thread: [RESOLVED]GUI Help

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2002
    Posts
    86

    [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.

  2. #2
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    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

  3. #3
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111

    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
  •  



Click Here to Expand Forum to Full Width