Re: Dead lock in Graphics setFont

1999-08-07 Thread Michael Emmel
Michael Emmel wrote: Well I figured it out. Swing was handing out the same native graphics context twice. It look like theres a race condition in Swing Graphics wich allows it to hand out the same native graphics context twice in a threaded enviroment The pain is it results in deadlocks when

Dead lock in Graphics setFont

1999-08-06 Thread Michael Emmel
Hi I'm dead locking in Graphics on a call to setFont It enters g.setFont and never ruturns theu funny thing is it succeeds many times and this is the only thread in the setFont call ?? I synchronized on the graphics but no luck. java version "1.1.7B" Good call 0 SET FONT CALLED java.awt.Font[f