aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphui
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphui')
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/TooltipShape.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/TooltipShape.java b/src/graphui/classes/com/jogamp/graph/ui/TooltipShape.java
index be73252fd..e627d671f 100644
--- a/src/graphui/classes/com/jogamp/graph/ui/TooltipShape.java
+++ b/src/graphui/classes/com/jogamp/graph/ui/TooltipShape.java
@@ -168,7 +168,11 @@ public class TooltipShape extends Tooltip {
final Group tipGroup = (Group)tipGroup_;
final Group tipWrapper = (Group)tipGroup.getShapeByIdx(1);
if( null == tipWrapper.removeShape(tip) ) {
- throw new RuntimeException("Tip "+tip.getName()+" not contained in "+tipWrapper.getName());
+ System.err.println("TooltipShape.destroyTip: Warning: Tip "+tip.getName()+" not contained in "+tipWrapper.getName()+"; Internal Group: ");
+ tipGroup.forAll((final Shape s) -> {
+ System.err.println("- "+s.getName());
+ return false;
+ });
}
tipGroup.destroy(gl, renderer);
dtorCallback.destroy(this, gl, renderer, tip);