Skip to content

Commit

Permalink
Added some tooltips to OutputConfigurationDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
bernard committed Aug 25, 2020
1 parent 9e59282 commit f1562f1
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,15 @@ private void initComps() {
this.outputDirectoryTextField = new FileSelectionTextField(this.config.getString(EnumConfigurationKey.OUTPUT_DIRECTORY));
this.outputDirectoryTextField.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
this.fileNametextField = new JTextField(this.config.getString(EnumConfigurationKey.OUTPUT_FILE_NAME));
this.fileNametextField.setToolTipText("If a \'#\' character is present in the name, the program will save files as a series "
+ "starting at 0. The \'#\' will be replaced by the image series number.");
this.autoRepeatCheckBox = new JCheckBox("Auto Repeat");
this.autoRepeatCheckBox.setToolTipText("If selected, the program will resume listening automatically after a bitmap is "
+ "received from the device.");
this.autoRepeatCheckBox.setSelected(this.config.getBoolean(EnumConfigurationKey.AUTO_REPEAT_CAPTURE));
this.openAfterCaptureCheckBox = new JCheckBox("Auto Open");
this.openAfterCaptureCheckBox.setToolTipText("If selected, after receiving a valid bitmap, the received file will be "
+ "opened in the default program for the corresponding image type.");
this.openAfterCaptureCheckBox.setSelected(this.config.getBoolean(EnumConfigurationKey.OPEN_FILE_AFTER_CAPTURE));
this.okButton = new JButton("OK");
this.okButton.addActionListener(new ActionListener() {
Expand Down

0 comments on commit f1562f1

Please sign in to comment.