File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes jlabel problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "jlabel problem" Watch "jlabel problem" New topic

jlabel problem

narasimharao konjeti
Ranch Hand

Joined: Apr 26, 2003
Posts: 130
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
nr konjeti

"Unwise to sweat petty stuff, wise to pet sweaty stuff."
Chris Fetterley
Ranch Hand

Joined: May 13, 2003
Posts: 51
what does the logic look like for this?
VIJAY Yadlapati
Ranch Hand

Joined: Aug 04, 2003
Posts: 175
call repaint() after changing the labeltext.
I agree. Here's the link:
subject: jlabel problem
jQuery in Action, 3rd edition