This commit is contained in:
root
2017-12-14 16:35:05 +01:00
parent a2928d0eb3
commit 84ba6b2878
8 changed files with 60 additions and 23 deletions

View File

@@ -302,8 +302,7 @@ public class WireScan extends Panel {
dev.setMonitored(true);
dev.initialize();
DeviceValueChart chart = new DeviceValueChart();
JDialog dlg = SwingUtils.showDialog((Window)this.getTopLevel(), blm, new Dimension(600,400), chart);
chart = null;
JDialog dlg = SwingUtils.showDialog((Window)this.getTopLevel(), blm, new Dimension(600,400), chart);
chart.setDevice(dev);
dlg.addWindowListener(new WindowAdapter() {
@Override