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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

How to display the output using Labels??

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 74613
335
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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