It was my first attempt, even though I thought it was too much effort to use only one function.
I was able to install all the components, but I did not know how to implement them.
For Each JO As JavaObject In L
Log(JO.RunMethod("getTitle",Null))
Dim awtrect As JavaObject = JO.RunMethod("getLocAndSize", Null)
Log(awtrect)
log(awtrect.GetField("x")) 'other fields: https://docs.oracle.com/javase/7/docs/api/java/awt/Rectangle.html
Next
For Each JO As JavaObject In L
Log(JO.RunMethod("getTitle",Null))
Dim awtrect As JavaObject = JO.RunMethod("getLocAndSize", Null)
Log(awtrect)
log(awtrect.GetField("x")) 'other fields: https://docs.oracle.com/javase/7/docs/api/java/awt/Rectangle.html
Next