If I have a declaration in Frame2.java like this "String z="y";
and I want to pass the value from z to " String d;" that is declare in Frame1.java.
How would I accomplish this?

thanks in advance