Is your UI changes are not reflecting when your Java-Swing application is running? OR Do you want to run UI stuffs from non-UI thread? Below snippet will be handy for you..
public void run()
//UI processing done here..