Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tic-Tac-Toe Application  RSS feed

 
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!