I'm having this problem, that when i do a System.out.println for variable pass in the while loop, the value is coming right but when i try to use that value as setText for my textField in the createSimpleDialogBox() the variable pass value is empty. Why is it so. and how can i rectify it.??? My code is below..please help.
well i think there was a problem in the way how i was declaring the variable .. now that i have changed it to static every thing seems to be working fine...
Thanxs all... i'm sure i'll be neading all ranchers help shortly beacuse now i have to call this class file from a web page..... let me try..if i get stuck then i know where to come
Ko Ko Naing
Joined: Jun 08, 2002
Rekha, Well, as for static variables, you will be able to use it throughout all the instances... It will be fine, as long as you want to use those variables as such manner... But if you do want to use them in different instances, then you cannot avoid using instance variables...