[kepler-dev] [Bug 5661] New: Remove SwingWorker and use javax.swing.SwingWorker

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Mon Aug 6 16:51:05 PDT 2012


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5661

             Bug #: 5661
           Summary: Remove SwingWorker and use javax.swing.SwingWorker
    Classification: Unclassified
           Product: Kepler
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: core
        AssignedTo: barseghian at nceas.ucsb.edu
        ReportedBy: cxh at eecs.berkeley.edu
         QAContact: kepler-dev at kepler-project.org


./util/src/util/SwingWorker.java
FIXME: Remove and use  javax.swing.SwingWorker.

See http://docs.oracle.com/javase/tutorial/uiswing/concurrency/worker.html

"The javax.swing.SwingWorker class was added to the Java platform in
Java SE 6. Prior to this, another class, also called SwingWorker, was
widely used for some of the same purposes. The old SwingWorker was not
part of the Java platform specification, and was not provided as part
of the JDK.

The new javax.swing.SwingWorker is a completely new class. Its
functionality is not a strict superset of the old SwingWorker. Methods
in the two classes that have the same function do not have the same
names. Also, instances of the old SwingWorker class were reusable,
while a new instance of javax.swing.SwingWorker is needed for each new
background task."


Also, remove ptolemy/src/ptolemy/gui/SwingWorker.java

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Kepler-dev mailing list