Browse Source

refactoring: Verschoerung Code

remotes/origin/server
Paul Kattenborn 11 months ago
parent
commit
080c6393cd
  1. 4
      src/main/java/ChatGUI.java

4
src/main/java/ChatGUI.java

@ -98,12 +98,12 @@ public class ChatGUI implements ActionListener {
} }
if (e.getSource() == blue) { if (e.getSource() == blue) {
outputTextArea.setForeground(Color.BLUE); outputTextArea.setForeground(Color.BLUE);
}else if (e.getSource() == black) {
} else if (e.getSource() == black) {
outputTextArea.setForeground(Color.BLACK); outputTextArea.setForeground(Color.BLACK);
} else if (e.getSource() == green) { } else if (e.getSource() == green) {
outputTextArea.setForeground(Color.GREEN); outputTextArea.setForeground(Color.GREEN);
} }
}
}
} }
Loading…
Cancel
Save