Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
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: