In ClassA i have made a function that assign value to strUserId then
in second function only retrived the same value that is public in ClassA through
this.strUserID;
I didnt find any value that you are passing. It means that if you are having null value into your count variable, no data will be shown.
Try to assign value at top of the declaration of count variable as
public int count = 99;
Now try this. It does nothing what your
java class is extended from. I am using JFRAME and JDIALOG. I am using NETBEANS
IDE that by default extends JFrame. And the example i have given you was one of my real application.
Hope now you understand. If not then send me all your code in this form or send me email at
[email protected]........ May i solve your this problem.
Take Care....