ScreenPanel4
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user