|
@@ -193,9 +193,10 @@ public class InspectorTable extends JPanel {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
}
|
|
|
+ //clone for concurrency
|
|
|
+ Set<AbstractCanvasObject> selection = new HashSet<>(control.getModel().getSelectedObjects());
|
|
|
populateRowsThread = new Thread(() -> {
|
|
|
- Stream<HolonElement> elements = extractElements(control.getModel().getSelectedObjects());
|
|
|
- List<HolonElement> elementList = elements.toList();
|
|
|
+ List<HolonElement> elementList = extractElements(selection).toList();
|
|
|
this.removeAll();
|
|
|
elementRows.clear();
|
|
|
// TODO Pooling
|