src/share/classes/javax/swing/SwingWorker.java

Print this page

        

*** 48,58 **** * {@code SwingWorker} is unspecified and should not be relied on. * <p> * When writing a multi-threaded application using Swing, there are * two constraints to keep in mind: * (refer to ! * <a href="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html"> * Concurrency in Swing * </a> for more details): * <ul> * <li> Time-consuming tasks should not be run on the <i>Event * Dispatch Thread</i>. Otherwise the application becomes unresponsive. --- 48,58 ---- * {@code SwingWorker} is unspecified and should not be relied on. * <p> * When writing a multi-threaded application using Swing, there are * two constraints to keep in mind: * (refer to ! * <a href="https://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html"> * Concurrency in Swing * </a> for more details): * <ul> * <li> Time-consuming tasks should not be run on the <i>Event * Dispatch Thread</i>. Otherwise the application becomes unresponsive.