Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can somebody show me how to implement buttons?

 
Klaas Vredevort
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey

I would like to know how to implement buttons instead of a manual input in the following program (I highlighted the part where the user puts in a letter of the alphabet so that you can see what I mean)


 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Klaas Vredevort:
... I would like to know how to implement buttons instead of a manual input...

I think you're asking how to build a GUI for your program, right? This Swing tutorial should give you an idea of what's involved.

If you haven't worked with Swing before, this might seem like a lot to tackle. But once you get a feel for the concepts, it's not that bad. We also have a Swing forum especially for GUI topics.
[ March 17, 2006: Message edited by: marc weber ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic