From 283e799da20e23c4b740cc1e0fc2be39f494a16d Mon Sep 17 00:00:00 2001 From: Alexandre Gobbo Date: Tue, 5 Mar 2019 16:58:38 +0100 Subject: [PATCH] ScreenPanel4 --- plugins/ScreenPanel4.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/ScreenPanel4.java b/plugins/ScreenPanel4.java index 37aec38..9fe7928 100644 --- a/plugins/ScreenPanel4.java +++ b/plugins/ScreenPanel4.java @@ -462,6 +462,7 @@ public class ScreenPanel4 extends Panel { layout.rowHeights = new int[]{30, 30}; //Minimum height panel.setLayout(layout); JCheckBox checkContinuous = new JCheckBox(""); + checkContinuous.setSelected(true); JTextField textFrames = new JTextField(); GridBagConstraints c = new GridBagConstraints(); c.gridx = 0; @@ -578,6 +579,7 @@ public class ScreenPanel4 extends Panel { updateCameraList(); comboCameras.setSelectedItem(tokens[1]); if (!tokens[1].equals(comboCameras.getSelectedItem())){ + comboCameras.setSelectedItem(""); throw new Exception("Invalid camera name : " + tokens[1]); } System.out.println("Console set camera: " + tokens[1]);