hi,
My problem is some what crazy for me.
Let's see,
I declare one java file named as, test1.java.
In which i designed required GUI for project i.e 8 combobox,two buttons,etc.
Second file is automatic.java in which I get the selected values of combobox by creating the object of test1.java file.
like
test1 tst=new test();
and access value of combobox like
String cmb = tst.cmbv1;
Same as above getting the values of combobox in third file and fourth file.
but when I create the object of class test1,GUI for test1 is executed.
And this is what the problem I faced i.e. 3 times GUI frame for test1 is displayed.
Please tell me how to overcome this problem.Thanks in advance.
Thanks,
Vikas Sawant.
My problem is some what crazy for me.
Let's see,
I declare one java file named as, test1.java.
In which i designed required GUI for project i.e 8 combobox,two buttons,etc.
Second file is automatic.java in which I get the selected values of combobox by creating the object of test1.java file.
like
test1 tst=new test();
and access value of combobox like
String cmb = tst.cmbv1;
Same as above getting the values of combobox in third file and fourth file.
but when I create the object of class test1,GUI for test1 is executed.
And this is what the problem I faced i.e. 3 times GUI frame for test1 is displayed.
Please tell me how to overcome this problem.Thanks in advance.
Thanks,
Vikas Sawant.
Comment