how to access jTextField of one JFrame1 from JFrame2 & Modify JTextField contents
I have created a package with JFrame having Panel on it. On the panel i have created button "Tab" which will behave like Tab button. I also have a button which will act as input for alpbabets (a,b,c ... z) i.e. one character at a time per click of that button.
This is working fine, if i modifying only one textField within that package, as i am reading text from the textField and then appending that TextField with old text from that TextField and adding new alphabet on per click of alphabet button.
I have created another package within that project having another JFrame with panel and many jTextField on that panel. I want to use the already earlier created package and generalize the behaviour that it was showing with that package having a single textField, with the textField in the another created Package's TextField also. I had already imported the earlier package in new one.
behavour should be like this.
i should able to focus on each textField by clicking on Tab button created in earlier Package. when focus is on the textField i should able to append the text with new alphabets.
i have attached an snapshot of crated page ... to make my problem more clear
thanks in advance..