run On Swing Thread Later - Java Swing

Java examples for Swing:Swing Thread

Description

run On Swing Thread Later

Demo Code


//package com.java2s;

public class Main {
    public static void runOnSwingThreadLater(Runnable run) {
        javax.swing.SwingUtilities.invokeLater(run);
    }/*from w  ww .  j  av a 2s  .  co m*/
}

Related Tutorials