|
you cannot!!!
here is an alternative,
you can initialize first a variable with setter and getter method.... before that actionPerformed ends its task, call the setter method and store that string in that variable...
Instead of waiting the expected value from a void type(which is impossible) just call the getter method after the actionPerformed invoked....
__________________
A specific, detailed, simple, well elaborated, and "tested before asking" question may gather more quick replies. hopefully To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|