Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jlabel problem

 
narasimharao konjeti
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I have created one static Jlabel object and updating value of jlabel in another frame.and i am updating jlabel value, while executing one method, and jlabel is not taking updated values. it is taking finally given value.
so please help me
cheers
nr konjeti
 
Chris Fetterley
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what does the logic look like for this?
 
VIJAY Yadlapati
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
call repaint() after changing the labeltext.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic