Forums Register Login
Hi Friends,
If subclass of JinternalFrame implements the listener.Its Container is a JPanel with some Swing components on them.When i register a JTextfIeld with the listener and passing the parameter as "this".When i click on the JTextfield, evnt is not getting fired why???. can any body help me to know this.
Thanx in advance
Can you give some of your code?
"this" refers to the enclosing class. It's a convenient way to refer to the class from within it.

Since "this" is a class object you can query it for information using methods in the Class class

You can also ask your components for the class name of their listeners.
Here's an exploration

This thread has been viewed 1018 times.

All times above are in ranch (not your local) time.
The current ranch time is
Dec 10, 2018 04:06:17.