NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hit "send" too quickly. Meant to put in this example: In you 'parent frame', do this: 0) import java.awt.event.*; 1) public class ParentFrame implements ActionListener ... 2) VisADThing vat = new VisADThing(....); vat.addActionListener(this); ... public void actionPerformed(Event e) { // do your stuff } In your VisADThing: 0) import java.awt.event.*; 1) ActionListener al = null; 2) public void addActionListener(ActionListener a) { al = a; } 3) in 'doAction()' ... if (al != null) al.actionPerformed( new ActionEvent(this, "what happened", 0)); tom -- Tom Whittaker (tomw@xxxxxxxxxxxxx) University of Wisconsin-Madison Space Science and Engineering Center Cooperative Institute for Meteorological Satellite Studies Phone/VoiceMail: 608.262.2759
visad
archives: