From 27bf571d6413c3cc6a5d664b5bddd38d21d7b1cd Mon Sep 17 00:00:00 2001 From: EVE Date: Mon, 13 Mar 2017 16:42:21 -0400 Subject: Formatting --- .../bjc/utils/gui/panels/FormattedInputPanel.java | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'BJC-Utils2/src/main/java/bjc/utils/gui/panels/FormattedInputPanel.java') diff --git a/BJC-Utils2/src/main/java/bjc/utils/gui/panels/FormattedInputPanel.java b/BJC-Utils2/src/main/java/bjc/utils/gui/panels/FormattedInputPanel.java index a05c06e..ae62a43 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/gui/panels/FormattedInputPanel.java +++ b/BJC-Utils2/src/main/java/bjc/utils/gui/panels/FormattedInputPanel.java @@ -15,29 +15,27 @@ import bjc.utils.gui.layout.HLayout; * @author ben * * @param - * The type of value being formatted + * The type of value being formatted */ public class FormattedInputPanel extends JPanel { - private static final long serialVersionUID = 5232016563558588031L; + private static final long serialVersionUID = 5232016563558588031L; - private JFormattedTextField field; + private JFormattedTextField field; /** * Create a new formatted input panel * * @param label - * The label for this panel + * The label for this panel * @param length - * The length of this panel + * The length of this panel * @param formatter - * The formatter to use for input + * The formatter to use for input * @param reciever - * The action to call whenever the value changes + * The action to call whenever the value changes */ @SuppressWarnings("unchecked") - public FormattedInputPanel(String label, int length, - AbstractFormatter formatter, - Consumer reciever) { + public FormattedInputPanel(String label, int length, AbstractFormatter formatter, Consumer reciever) { setLayout(new HLayout(2)); JLabel lab = new JLabel(label); @@ -59,7 +57,7 @@ public class FormattedInputPanel extends JPanel { * Reset the value in this panel to a specified value * * @param value - * The value to set the panel to + * The value to set the panel to */ public void resetValues(InputVal value) { field.setValue(value); -- cgit v1.2.3