Which pattern to use for multi-threading downloader

HI,My multi-threading downloader makes freezing the editor. Input streams and output streams are in a synchronized block. Classes are extended from Thread. I don't know what else could I do to correct my code, so I think to use any safe pattern.What could you recommend?
[292 byte] By [Isaaka] at [2007-11-26 22:39:49]
# 1
this isn't a problem that can be solved using a design pattern. not every problem can be
georgemca at 2007-7-10 11:53:11 > top of Java-index,Other Topics,Patterns & OO Design...
# 2
Try to use the Reactor pattern. It is implemented in NIO package begining with 1.4. http://java.sun.com/j2se/1.4.2/docs/guide/nio/
abc0xyza at 2007-7-10 11:53:11 > top of Java-index,Other Topics,Patterns & OO Design...
# 3
Reactor is a package, not a pattern.Reactor is in Apache's NIO suite, not j2se1.4
es5f2000a at 2007-7-10 11:53:11 > top of Java-index,Other Topics,Patterns & OO Design...
# 4

Please take a look here:

http://www-128.ibm.com/developerworks/library/j-javaio/

This is one of the nio packages in j2se:

http://java.sun.com/j2se/1.4.2/docs/api/java/nio/package-summary.html

A deeper theory about the general architecture for Reactor and Proactor patterns could be found on net.

abc0xyza at 2007-7-10 11:53:11 > top of Java-index,Other Topics,Patterns & OO Design...
# 5
> this isn't a problem that can be solved using a> design pattern. not every problem can bewhich is a pattern in itself... In general, if you have to ask what pattern is "best" you're better off not using it.
jwentinga at 2007-7-10 11:53:11 > top of Java-index,Other Topics,Patterns & OO Design...