Skip to content

Commit

Permalink
minor indentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
akmsw committed Jul 6, 2023
1 parent 74ba45f commit 0a2aa7d
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions src/main/java/armameeldoparti/views/NamesInputView.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,9 @@ private void addComboBox() {
comboBox = new JComboBox<>(OPTIONS_COMBOBOX);

comboBox.setSelectedIndex(0);
comboBox.setBorder(
BorderFactory.createBevelBorder(BevelBorder.RAISED,
Constants.GREEN_MEDIUM,
Constants.GREEN_DARK)
);
comboBox.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED,
Constants.GREEN_MEDIUM,
Constants.GREEN_DARK));
comboBox.setUI(new BasicComboBoxUI() {
@Override
protected JButton createArrowButton() {
Expand Down Expand Up @@ -172,11 +170,9 @@ private void addTextArea() {
textArea = new JTextArea(TEXT_AREA_ROWS, TEXT_AREA_COLUMNS);

textArea.setEditable(false);
textArea.setBorder(
BorderFactory.createBevelBorder(BevelBorder.RAISED,
Constants.GREEN_MEDIUM,
Constants.GREEN_MEDIUM)
);
textArea.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED,
Constants.GREEN_MEDIUM,
Constants.GREEN_MEDIUM));

rightPanel.add(textArea, "push, grow, span");
}
Expand Down Expand Up @@ -205,11 +201,9 @@ private void addTextFields() {
for (int i = 0; i < totalPlayersInPosition; i++) {
JTextField tf = new JTextField();

tf.setBorder(
BorderFactory.createBevelBorder(BevelBorder.RAISED,
Constants.GREEN_MEDIUM,
Constants.GREEN_MEDIUM)
);
tf.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED,
Constants.GREEN_MEDIUM,
Constants.GREEN_MEDIUM));
tf.addActionListener(e -> {
try {
((NamesInputController) CommonFunctions.getController(ProgramView.NAMES_INPUT))
Expand Down

0 comments on commit 0a2aa7d

Please sign in to comment.