Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

How to display the output using Labels??

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Report post to moderator

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
 
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Report post to moderator
is this any different to your other post (where the final post asked you for some more info)

https://coderanch.com/t/457437/Beginning-Java/java/would-like-know-format-display
 
Marshal
Posts: 69806
277
  • Mark post as helpful
  • send pies
  • Report post to moderator

Michael Dunn wrote:is this any different to your other post (where the final post asked you for some more info)

https://coderanch.com/t/457437/Beginning-Java/java/would-like-know-format-display

Thank you for noticing, Michael. I shall close this thread.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic