thread problem

hi i am building on application in in Gui using net beans

in this i am creating one thread to receive server response and i am able to receive the message from server

but my problem is i am unable to access j frame element in thread

so can anyone help me please.....

waiting

how to access the form element in thread run method

like jlable1.setText("a");

waiting from reply

[422 byte] By [bhavin123400a] at [2007-11-27 6:05:47]
# 1
try posting this on the concurrency forum, or on netbeans.org
gymma at 2007-7-12 16:52:28 > top of Java-index,Java Essentials,Java Programming...
# 2
This does not appear to be a threading question at all but in fact a question relating to how to access something from one class from a different class. Please post formatted relevent code showing exactly what the problem is and what you have tried so far.
cotton.ma at 2007-7-12 16:52:28 > top of Java-index,Java Essentials,Java Programming...