From 0b415d3480619c1aa339fc1e280699f385f1ac2f Mon Sep 17 00:00:00 2001 From: Alexandre Gobbo Date: Mon, 4 Nov 2019 15:45:55 +0100 Subject: [PATCH] Startup --- plugins/AthosCameras.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/AthosCameras.java b/plugins/AthosCameras.java index 49bdbb6..5e880ab 100644 --- a/plugins/AthosCameras.java +++ b/plugins/AthosCameras.java @@ -287,16 +287,16 @@ public class AthosCameras extends Panel { } }; dataPipeline.getStream().addListener(listener); - + + chart.setAsyncUpdates(true); + chart.setDevice(dev); JDialog dlg = SwingUtils.showDialog(AthosCameras.this.getTopLevel(), cameraName + " " + field, null, chart); - chart.setAsyncUpdates(true); - chart.setDevice(dev); //chart.setAsyncUpdates(true); System.out.println(chart.getAsyncUpdates()); - SwingUtils.invokeDelayed(()->{chart.setAsyncUpdates(true);}, 3000); + //SwingUtils.invokeDelayed(()->{chart.setAsyncUpdates(true);}, 3000); //TODO: //PlotBase plot = chart.getPlot(); //if (plot!=null){