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 bye
Post by:Pat Hays
Hi, Can you give some of your code?
Post by:Craig Wood
"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.