The problem is this:
We have class A and class B - both extends JFrame class.
class A instantiates class B which set a textField.
Now we want class A to get that string (from textField),
and disposing class B.
At the moment we get an empty string.
How can we do it?
Please add an example.