Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tic-Tac-Toe Application

 
Al Stumpel
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
^I figured it out on my own
[ May 05, 2006: Message edited by: Al Stumpel ]
 
Trevor Cole
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the button is just purely for displaying the result then why don't you simply use a JLabel?

The only time I would use a button is if you wished to allow interaction with the player for that particular field.
[ May 05, 2006: Message edited by: Trevor Cole ]
 
Al Stumpel
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks , I had meant to do that but I forgot. Any idea on how to make the result appear on one of the labels.
 
Think of how stupid the average person is. And how half of them are stupider than that. But who reads this tiny ad?
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!