I have 2 JFrame : A and B from Screen A : call B as:
B b=new B();
b.setName("B1");
b.show();
and
B b=new B();
b.setName("B2");
b.show();
The result: show 2 screen B is: B1 and B2 If from Screen A: i want set value for control of B1 or B2. How code? Thanks?