Hi ,i'm creating a wind controle software with the LeafLet4j API , i get an issue with the creation of shapes (Polyline,Circle) and even the modification of arguments , actually i can do it in the Run bloc of the method like shown in the example , but if i want to set the Args in an external class , i have an java.lang.reflect.InvocationTargetException Caused by: java.lang.IllegalStateException: No presenter active. Use BrwsrCtx.execute!. i'm stuck in this issue during days , it would be nice someone have an idea about this , or met this problem.
--
You received this message because you are subscribed to the Google Groups "DukeScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dukescript+...@googlegroups.com.
Visit this group at https://groups.google.com/group/dukescript.
To view this discussion on the web visit https://groups.google.com/d/msgid/dukescript/29d2c103-95ac-42b6-8939-d579d0746cb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Don't give up (yet)!
Have U seen the sample at the end of http://bits.netbeans.org/html+java/1.3/net/java/html/BrwsrCtx.html#execute(java.lang.Runnable) ?
It is using "findDefault". Try that. It works.
-jt
Hi Jaroslav,Thank's for your quick answer, first of all i want to congratulate you for your good job, i tried to use the BrwsrCtx.execute , i don't know if i did it right but i had the same exception. i used it like : BrwsrCtx.EMPTY.execute(myMethod) , also i didn't find an info about the BrwsrCtx in javadoc.
thank's for your help
Le mardi 31 mai 2016 19:25:00 UTC+2, Jaroslav Tulach a écrit :
To view this discussion on the web visit https://groups.google.com/d/msgid/dukescript/b503cdf2-8ea9-4b3f-a596-d5f6c2c5c2df%40googlegroups.com.