accessing the text of textfield of one class in another
I created a frame where I am reading some input data and there only I am displaying it using a dialog box. I would like to open another window on clicking the ok button of dialog box. I would like to access the data of text fields. While accessing the data of first class by using its object it is giving it as zero. the variables declared as static because every object can share the static variables. Still I am getting the value zero.
Can u people guide me to solve this problem. I have to access all data which were entered in a textfield later I have to store in a file
Please Respond fast for my query