tags:

views:

124

answers:

1

Is there a way to pass data e.g an object to the swingWorker before invoking "swingWorker.execute"?

A: 

You should add an accessor to your SwingWorker extended class


SWExtended swe = new SWExtended();
swe.setMethod(newObjectValue);
swe.execute();

William Huart