pickObject - TestSubgraph2

I try to pick TestSubgraph2 from Demo1:

System.out.println(myDoc.pickObject(new Point(350, 470), true)); returns com.nwoods.jgo.examples.demo1.TestSubGraph2@152544e - rightly
System.out.println(myDoc.pickObject(new Point(350, 500), true)); returns com.nwoods.jgo.JGoLink@148cc8c - rightly
System.out.println(myDoc.pickObject(new Point(350, 495), true));
returns null, but must be subgraph

Yes, that is the correct behavior.

Perhaps you want to call JGoArea.setPickableBackground(true) on your subgraphs.

Yes, the best there’s!