Running 2 threads at once

How do i make 2 threads run at once. In one thread i need a JProgressBar to increment, and the other i need to call a loop.Thanks in advance,Mike
[173 byte] By [mike200015a] at [2007-11-27 3:51:41]
# 1
Look at the API docs of java.lang.Thread and java.lang.Runnable.
MikePa at 2007-7-12 8:55:41 > top of Java-index,Desktop,Core GUI APIs...
# 2
The SwingWorker documentation has an example including use of JProgressBar: http://download.java.net/jdk7/docs/api/javax/swing/SwingWorker.html
rebola at 2007-7-12 8:55:41 > top of Java-index,Desktop,Core GUI APIs...