Re: [netlogo-devel] Controlling Netlogo 3D from Java

2018-03-28 Thread blackdog . whitefang
Dear Jason, Here is the code that works. Observations: I had to put the model into the Java class directoryand remove blank space from the model file name. Overall, the ability to control NetLogo 3D from Java is a show. I am truely thankfull for this feature. It is a great resource for building

Re: [netlogo-devel] Controlling Netlogo 3D from Java

2018-03-28 Thread Jason Bertsche
It's possible that that documentation is a bit out of date.  It looks to me like `invokeLater` was moved to `org.nlogo.awt.EventQueue` . On 3/28/2018 2:35 PM, blac

Re: [netlogo-devel] Controlling Netlogo 3D from Java

2018-03-28 Thread blackdog . whitefang
Dear Seth, I am trying to follow your suggestion and the suggesstion from Github: https://github.com/NetLogo/NetLogo/wiki/Controlling-API However org.nlogo.awt.Utils.invokeLater does not have the class Utils. I am using Netlogo 6.0.2. Any suggestion on what to import? public static void main(S

Re: [netlogo-devel] Controlling Netlogo 3D from Java

2018-01-23 Thread Seth Tisue
I'm not sure if it's been tried before. I think it will probably just work if you do: System.setProperty("org.nlogo.is3d", "true"); before calling App.main. It's worth a try. Seth -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscrib

[netlogo-devel] Controlling Netlogo 3D from Java

2018-01-23 Thread blackdog . whitefang
Hi Everyone, I am wondering if I can control the execution of Netlogo 3D model from Java program. Are there any examples specific to Netlogo 3D? Thank you in advance, Anton -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from t