OmegaT/OmegaT-2.2.3-use-openjdk-swingworker.patch

25 lines
1.1 KiB
Diff
Raw Normal View History

diff -Nru src/org/omegat/gui/main/MainWindowMenuHandler.java src/org/omegat/gui/main-gil/MainWindowMenuHandler.java
--- src/org/omegat/gui/main/MainWindowMenuHandler.java 2011-01-18 16:35:36.000000000 +0100
+++ src/org/omegat/gui/main-gil/MainWindowMenuHandler.java 2011-03-10 19:00:51.000000000 +0100
@@ -32,7 +32,7 @@
import javax.swing.JDialog;
import javax.swing.JOptionPane;
-import org.jdesktop.swingworker.SwingWorker;
+import javax.swing.SwingWorker;
import org.omegat.core.Core;
import org.omegat.core.CoreEvents;
import org.omegat.core.data.SourceTextEntry;
diff -Nru src/org/omegat/gui/main/ProjectUICommands.java src/org/omegat/gui/main-gil/ProjectUICommands.java
--- src/org/omegat/gui/main/ProjectUICommands.java 2011-03-10 19:04:01.000000000 +0100
+++ src/org/omegat/gui/main-gil/ProjectUICommands.java 2011-03-10 19:03:48.000000000 +0100
@@ -29,7 +29,7 @@
import javax.swing.JOptionPane;
import javax.swing.SwingUtilities;
-import org.jdesktop.swingworker.SwingWorker;
+import javax.swing.SwingWorker;
import org.omegat.core.Core;
import org.omegat.core.data.ProjectFactory;
import org.omegat.core.data.ProjectProperties;