Communicating from event handler to container
- From: "eastside" <eastside@xxxxxxxxxxxxxx>
- Date: Mon, 26 Feb 2007 02:32:39 GMT
I have a class, let's call it AC, which extends JPanel. Each instance of AC
also contains a JTextField. The actionlistener for the text field is also in
the class definition of AC. If a certain condition is detected by the
actionlistener, the object needs to tell the parent object that contains AC
to inform all other instances of AC that they need to be updated. How is
this communication back to the parent object usually accomplished in Java?
Thanks!
.
- Follow-Ups:
- Re: Communicating from event handler to container
- From: Michael Dunn
- Re: Communicating from event handler to container
- Prev by Date: Re: Checking input for letters
- Next by Date: Re: Communicating from event handler to container
- Previous by thread: Using Interfaces ?
- Next by thread: Re: Communicating from event handler to container
- Index(es):
Relevant Pages
|