From afe97b1013a9b1deb401f710f91f81ecb63b2b82 Mon Sep 17 00:00:00 2001 From: akmsw Date: Sat, 8 Jul 2023 14:03:13 -0300 Subject: [PATCH] documentation and access minor modifiers fixes --- .../utils/common/custom/graphical/CustomSpinner.java | 4 ++-- .../utils/common/custom/graphical/CustomTable.java | 2 +- .../utils/common/custom/graphical/CustomTextArea.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/armameeldoparti/utils/common/custom/graphical/CustomSpinner.java b/src/main/java/armameeldoparti/utils/common/custom/graphical/CustomSpinner.java index 60b00a37..b40402e6 100644 --- a/src/main/java/armameeldoparti/utils/common/custom/graphical/CustomSpinner.java +++ b/src/main/java/armameeldoparti/utils/common/custom/graphical/CustomSpinner.java @@ -38,7 +38,7 @@ public CustomSpinner(@NonNull SpinnerNumberModel spinnerNumberModel) { // ---------------------------------------- Private methods ----------------------------------- /** - * Configures the graphical properties of the scroll pane in order to fit the program aesthetics. + * Configures the graphical properties of the spinner in order to fit the program aesthetics. */ private void setupGraphicalProperties() { setUI(new BasicSpinnerUI() { @@ -66,7 +66,7 @@ protected Component createPreviousButton() { } /** - * Configures the spinner 'previous' button to fit the program aesthetics. + * Configures the spinner 'next' button to fit the program aesthetics. * * @see CommonFunctions#buildArrowButton(int) * diff --git a/src/main/java/armameeldoparti/utils/common/custom/graphical/CustomTable.java b/src/main/java/armameeldoparti/utils/common/custom/graphical/CustomTable.java index 3bddb34d..a0dc47bb 100644 --- a/src/main/java/armameeldoparti/utils/common/custom/graphical/CustomTable.java +++ b/src/main/java/armameeldoparti/utils/common/custom/graphical/CustomTable.java @@ -40,7 +40,7 @@ public CustomTable(int rows, int columns) { /** * Configures the graphical properties for the table in order to fit the program aesthetics. */ - public void setupGraphicalProperties() { + private void setupGraphicalProperties() { setBorder(BorderFactory.createLineBorder(Constants.GREEN_DARK)); setDefaultRenderer( Object.class, diff --git a/src/main/java/armameeldoparti/utils/common/custom/graphical/CustomTextArea.java b/src/main/java/armameeldoparti/utils/common/custom/graphical/CustomTextArea.java index 07e5af3b..2c26d9f9 100644 --- a/src/main/java/armameeldoparti/utils/common/custom/graphical/CustomTextArea.java +++ b/src/main/java/armameeldoparti/utils/common/custom/graphical/CustomTextArea.java @@ -19,7 +19,7 @@ */ public class CustomTextArea extends JTextArea { - // ---------------------------------------- Constructor --------------------------------------- + // ---------------------------------------- Constructors -------------------------------------- /** * Builds a basic text area using the established program aesthetics.