Return values from an ActionListener?
- From: Dave Reid <ddreid@xxxxxxxxxxx>
- Date: Wed, 27 Sep 2006 17:59:52 +0000 (UTC)
I'm still relatively new to Java/Swing programming and have a pretty
simple question about using ActionListeners.
I have a big array of stuff, and I want to send that array to a
method to do some editing of the array but using a button ActionListener.
So its no problem to send the array to the called method, but how would I
get the changed array back to the part of my program that called it? I
understand that actionListeners don't allow for returned values.
I'm sure this is likely very simple, so I appreciate the help.
dave
.
- Follow-Ups:
- Re: Return values from an ActionListener?
- From: Knute Johnson
- Re: Return values from an ActionListener?
- Prev by Date: Re: Can JOptionPane use a MaskFormatter for data input
- Next by Date: Re: Return values from an ActionListener?
- Previous by thread: Can JOptionPane use a MaskFormatter for data input
- Next by thread: Re: Return values from an ActionListener?
- Index(es):