File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/main/java/org/scijava/ui/swing Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -271,6 +271,8 @@ public static Rectangle getWorkSpaceBounds() {
271
271
.getMaximumWindowBounds ();
272
272
}
273
273
274
+ /** @deprecated Use {@link org.scijava.thread.ThreadService#queue}. */
275
+ @ Deprecated
274
276
public static void dispatchToEDT (final Runnable runnable ) {
275
277
if (!SwingUtilities .isEventDispatchThread ()) {
276
278
SwingUtilities .invokeLater (runnable );
@@ -280,6 +282,8 @@ public static void dispatchToEDT(final Runnable runnable) {
280
282
}
281
283
}
282
284
285
+ /** @deprecated Use {@link org.scijava.thread.ThreadService#invoke}. */
286
+ @ Deprecated
283
287
public static void dispatchToEDTWait (final Runnable runnable ) {
284
288
if (!SwingUtilities .isEventDispatchThread ()) {
285
289
try {
You can’t perform that action at this time.
0 commit comments