diff --git a/GUI/src/main/java/cz/fidentis/analyst/core/ControlPanelBuilder.java b/GUI/src/main/java/cz/fidentis/analyst/core/ControlPanelBuilder.java index 5abef3e79f8d59530bc1c4902868257ab4309845..cb424ebb09e3045c8b3fe764c24c09953739234c 100644 --- a/GUI/src/main/java/cz/fidentis/analyst/core/ControlPanelBuilder.java +++ b/GUI/src/main/java/cz/fidentis/analyst/core/ControlPanelBuilder.java @@ -34,7 +34,7 @@ import javax.swing.text.NumberFormatter; */ public class ControlPanelBuilder { - public static final Font CAPTION_FONT= new Font("Arial", 1, 18); + public static final Font CAPTION_FONT = new Font("Arial", 1, 18); public static final Insets CAPTION_PADDING = new Insets(20, 0, 20, 0); // top, left, bottom, right public static final ImageIcon HELP_ICON = new ImageIcon(ControlPanelBuilder.class.getResource("/info.png")); public static final Font OPTION_TEXT_FONT = new Font("Arial", 1, 14); @@ -146,7 +146,7 @@ public class ControlPanelBuilder { * @param helpAction Action listener invoked when the help icon is clicked. If {@code null}, then no help is shown. * @param text Option text. * @param sliderMax Max value of the slider (and the value field). If {@code -1}, then percentage slider is shown with 100 as the max. value. - * @param helpAction Action listener invoked when the input field is changed + * @param inputAction Action listener invoked when the input field is changed * @return Creates slider */ public JTextField addSliderOptionLine(ActionListener helpAction, String text, int sliderMax, ActionListener inputAction) { @@ -307,7 +307,7 @@ public class ControlPanelBuilder { * Adds a check box. * * @param selected Initial state - * @param actions Action listener invoked when the checkbox is clicked. + * @param action Action listener invoked when the checkbox is clicked. * @return This builder */ public JCheckBox addCheckBox(boolean selected, ActionListener action) { @@ -330,7 +330,7 @@ public class ControlPanelBuilder { /** * Adds a help icon. * - * @param actions Action listener invoked when the icon is clicked. + * @param action Action listener invoked when the icon is clicked. * @return This builder */ public JButton addOptionHelpIcon(ActionListener action) { @@ -428,5 +428,5 @@ public class ControlPanelBuilder { return slider; } - + }