If you want your listener to be in a separate class, you need to make sure that the listener object has access to your other class's stuff. I'm not very much into GUI programming, so I'm not sure...
Type: Posts; User: helloworld922
If you want your listener to be in a separate class, you need to make sure that the listener object has access to your other class's stuff. I'm not very much into GUI programming, so I'm not sure...
You should only need to send the textBox handle of the original PFrame. Creating a new PFrame won't help you change the original one. Instead, have your PFrame class implement ActionListener, then...