How to play midi and update graphics at the same time?

hello

I want to begin playing a midi file and thenimmediately while the music is still playing I want to update the screen, for ex. panel.update();

It now seems that that whole screen freezes until the music has finished. How can I simultaneously update UI and play midi. Please help. Thanx!

-Wonderful-

[336 byte] By [wonderful123a] at [2007-11-27 10:17:01]
# 1

Threads!

hunter9000a at 2007-7-28 15:49:01 > top of Java-index,Java Essentials,Java Programming...
# 2

But how... please help

wonderful123a at 2007-7-28 15:49:01 > top of Java-index,Java Essentials,Java Programming...
# 3

http://www.google.com/search?q=java+thread+tutorial

Plenty of tutorials and examples out there.

hunter9000a at 2007-7-28 15:49:01 > top of Java-index,Java Essentials,Java Programming...
# 4

thank you

wonderful123a at 2007-7-28 15:49:01 > top of Java-index,Java Essentials,Java Programming...
# 5

You're welcome! Post again if you have any specific questions.

hunter9000a at 2007-7-28 15:49:01 > top of Java-index,Java Essentials,Java Programming...