I can\'t update my progressbar... this is my code
Thread t=new Thread(new Runnable(){
public void run(){
int i=1;
jProgBar.setMin
Per eugener, SwingWorker
is definitely what you want to be using here, or any time a long-running task is spawned that could otherwise lock up your GUI prior to completion. A full tutorial on using progress bars with SwingWorker
is available from Sun^H^H^HOracle here:
http://java.sun.com/docs/books/tutorial/uiswing/components/progress.html