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:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

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: 76811
366
  • 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.
 
Just let me do the talking. Ahem ... so ... you see ... we have this tiny ad...
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic