Skip to content

Commit

Permalink
Corrected label for default delay value.
Browse files Browse the repository at this point in the history
  • Loading branch information
mvmn committed Sep 18, 2013
1 parent 55cd74a commit 05e74db
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/x/mvmn/jscrcap/gui/swing/ControlWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ public class ControlWindow extends JFrame implements WindowListener {

private static final long serialVersionUID = -2200911929118097957L;

public static final int MAX_DELAY_VALUE = 6000;
private static final int MAX_DELAY_VALUE = 6000;
private static final int DEFAULT_DELAY_VALUE = 10;

private final JButton btnToggleViewCaptureRect = new JButton("Show capture rect");
private final JButton btnResetCaptureRect = new JButton("Reset capture rect");
Expand All @@ -60,8 +61,8 @@ public class ControlWindow extends JFrame implements WindowListener {
private final JButton btnSaveOne = new JButton("Save image");
private final JButton btnExport = new JButton("Export animated GIF");
private final JSlider sliderOpacity = new JSlider(JSlider.HORIZONTAL, 0, 100, 55);
private final JSlider sliderDelay = new JSlider(JSlider.HORIZONTAL, 1, MAX_DELAY_VALUE, 10);
private final JTextField fldDelay = new JTextField("5");
private final JSlider sliderDelay = new JSlider(JSlider.HORIZONTAL, 1, MAX_DELAY_VALUE, DEFAULT_DELAY_VALUE);
private final JTextField fldDelay = new JTextField(String.valueOf(DEFAULT_DELAY_VALUE));
private final JCheckBox cbLoopGif = new JCheckBox("Loop GIF");
private final JComboBox<String> cbxImageFormat;
private final String[] writerFormatNames;
Expand Down

0 comments on commit 05e74db

Please sign in to comment.