Example usage for javax.swing SwingWorker subclass-usage

List of usage examples for javax.swing SwingWorker subclass-usage

Introduction

In this page you can find the example usage for javax.swing SwingWorker subclass-usage.

Usage

From source file com.anrisoftware.prefdialog.miscswing.docks.dockingframes.layoutsaver.SaveLayoutWorker.java

/**
 * Stores and saves the layout in a stream in the AWT thread.
 * 
 * @author Erwin Mueller, erwin.mueller@deventm.org
 * @since 1.0
 */

From source file avoking.com.documentos.scheduler.core.Core.java

/**
 *
 * @author ramms
 */
@RunWith(SpringJUnit4ClassRunner.class)
public class Core extends SwingWorker<String, String> {

From source file Main.java

class CounterTask extends SwingWorker<Integer, Integer> {
    int DELAY = 1000;

    @Override
    protected Integer doInBackground() throws Exception {
        int i = 0;

From source file eclserver.threads.EmergencyCallPush.java

public class EmergencyCallPush extends SwingWorker<String, Void> {

    private static final long serialVersionUID = -1845453591727608149L;
    private static final Random _r = new Random(System.currentTimeMillis());
    private DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
    private HttpURLConnection conn = null;

From source file eclserver.threads.EmergencyNotifyPush.java

public class EmergencyNotifyPush extends SwingWorker<String, Void> {

    private static final long serialVersionUID = -1845453591727608149L;
    private static final Random _r = new Random(System.currentTimeMillis());
    private DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
    private HttpURLConnection conn = null;

From source file net.poemerchant.ui.ScraperSwingWorker.java

/**
 * 
 *
 */
public class ScraperSwingWorker extends SwingWorker<Void, Void> {

From source file Main.java

class CounterTask extends SwingWorker<Integer, Integer> {
    @Override
    protected Integer doInBackground() throws Exception {
        int i = 0;
        int count = 10;
        while (!isCancelled() && i < count) {

From source file SwingWorkerDemo.java

class CounterTask extends SwingWorker<Integer, Integer> {
    private static final int DELAY = 1000;

    public CounterTask() {
    }

From source file com.digitalgeneralists.assurance.ui.workers.PerformScanWorker.java

public class PerformScanWorker extends SwingWorker<Scan, Object> implements IProgressMonitor {
    private Logger logger = Logger.getLogger(PerformScanWorker.class);

    private ScanDefinition scanDefinition;

    private INotificationProvider notifier;

From source file de.badw.strauss.glyphpicker.controller.alltab.TeiLoadWorker.java

/**
 * A worker loading glyph definitions from a document or online resource.
 */
public class TeiLoadWorker extends SwingWorker<List<GlyphDefinition>, Void> {

    /**