Hi Sean,
Sorry about that.
This is the problem with not having all the modules built in the default
build, I'll submit a bug for that.
The bug in question is:
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5661
It would be better to not use util.SwingWorker and use
javax.swing.SwingWorker because the former has unknown licensing and is
not supported, whereas the latter has well known licensing and is supported.
Note that some of the module manager code uses a separate SwingWorker
that has similar issues to util.SwingWorker. I submitted a separate bug
for that.
The changes are fairly simple, see
gui/src/org/kepler/gui/ProgressMonitorSwingWorker.java and the
SwingWorker tutorial listed in
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5661
Basically:
construct() becomes public Object doInBackground() {
destroy() becomes done()
In derived classes, we call
worker.start() becomes worker.execute()
worker.destroy() becomes worker.done()
worker.interrupt() becomes worker.cancel()
_Christopher
On 8/7/12 10:36 AM, Sean Riddle wrote:
Hi all,
I'm experiencing problems with the trunk of the reporting
suite. SearchScheduleSwingWorker and UploadingKARFileSwingWorker from
workflow-scheduler-gui will not compile, as they import
util.SwingWorker, which is not found.
I tried replacing these imports to reference the SwingWorker class
introduced in Java 1.6, but these classes do not implement required
methods. Am I missing a jar or module that would provide this dependency?
- Sean
_______________________________________________
Kepler-dev mailing list
[email protected]
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
--
Christopher Brooks, PMP University of California
CHESS Executive Director US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust Berkeley, CA 94720-1774
ph: 510.643.9841 (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670
_______________________________________________
Kepler-dev mailing list
[email protected]
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev