This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes How to display the output using Labels?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

How to display the output using Labels??

Radhika Srinivasan
Ranch Hand

Joined: Jul 28, 2009
Posts: 32
This is a Math quiz program I am able to draw question & answer....... Once the user answers question below that I would like to display whether the answered answer is correct or incorrect I am unable to display that since it comes under if else loop in itemStateChanged method would any of them help me with it




I would like to know how do I use Labels to display the output which comes under this method at a particular location




Many thanks,
Radhika
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
is this any different to your other post (where the final post asked you for some more info)

http://www.coderanch.com/t/457437/Beginning-Java/java/would-like-know-format-display
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39478
    
  28
Michael Dunn wrote:is this any different to your other post (where the final post asked you for some more info)

http://www.coderanch.com/t/457437/Beginning-Java/java/would-like-know-format-display
Thank you for noticing, Michael. I shall close this thread.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to display the output using Labels??