Hi Vyang, vyang <[EMAIL PROTECTED]> wrote on 08/27/2007 01:18:46 PM:
> Maybe its my misunderstanding of java or lack of understand of threads but, > if I create a local variable in a loop, and thats the variable thats called > in the runnable. Now if my loop executes a second time before my runnable > runs, which creates another local variable of same name/type, will the > runnable call the first variable or the second one(does the variable get > overriden)? No but I'm guessing that somewhere in your code you end up grabbing state from the second loop instead of the first. One thing that looked a little fishy was the id generation. I tried to look at your code but the snippets were just to fragmented for me to figure out where the error might be. > thomas.deweese wrote: > > > > Hi Vyang, > > > > vyang <[EMAIL PROTECTED]> wrote on 08/24/2007 12:08:44 PM: > > > >> Sorry, I meant to post the code but went and debug some more and forgot > >> about it. It seems that the first runnable(one from the first loop) > > call to > >> create the tspan grabs the next element(ie second loops element) and not > > the > >> one that called it. > > > > So you have your problem solved? You need to update your code so > > the Runnable know's what text element called it... > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: http://www.nabble.com/invokelater- > thread-issue--tf4319567.html#a12353574 > Sent from the Batik - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
