How to delete an ImageGridPanel?

12 views
Skip to first unread message

Jose Luis Albarral

unread,
Nov 17, 2023, 12:37:33 PM11/17/23
to BoofCV
Hi,

I create and show an ImageGridPanel various times in an execution (as the rows and cols evolve through the execution), but I end up with several grids on screen. 

Is there a way to delete an obsolete ImageGridPanel?
boofcv.gui.image.ShowImages class doesn't seem to have any delete/removal method ..

Used code:

public class MultiDisplay implements Displayable {

    ImageGridPanel panel;    // panel used to display the images

...

private void adaptLayout() {
                    panel = new ImageGridPanel(rows, cols);
                    ShowImages.showWindow(panel, title, true);
...

 Thanks,
JL

Jose Luis Albarral

unread,
Nov 23, 2023, 9:52:14 AM11/23/23
to boo...@googlegroups.com
HI, NOBODY THERE ????

--
You received this message because you are subscribed to the Google Groups "BoofCV" group.
To unsubscribe from this group and stop receiving emails from it, send an email to boofcv+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/boofcv/92376722-45aa-4f49-8819-6c5a629b03e2n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages