This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with 2D array of JButton

 
ethaniel landfough
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to make crossword game with JButton. I need to put number on the top left of JButton, but got the result in the wrong order(upside down). How to make it so the number order show up in the same order as the topLeftNum array? I also need to get the input text from JTextField, put it in the JButton. But, i got error too. If, i want to make the program to check the input text with the real answer, where should i put the code in?? Thanks.

 
Rob Camick
Ranch Hand
Posts: 2580
9
 
ethaniel landfough
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sorry. I'll take notes on it. Thanks
And my problems has been solved.

Here is the other sites that i also post the same question :

devx forum
dreamincode
Stackoverflow

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic