Niklas
Please dont cross post to multple forums. Many of the visitors tot he ranch read and answer questions in more than forum and cross posting to more than one may cause them to think you're rude and not answer your question - ot they may think you'll get an answer in another forum and ignore other posts of th same question.
I am closing this
thread since you already received an answer here:
http://www.javaranch.com/ubb/Forum1/HTML/002443.html ------------------
Dave
Sun Certified Programmer for the Java� 2 Platform