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) {
outputTextArea.setForeground(Color.BLUE);
}else if (e.getSource() == black) {
} else if (e.getSource() == black) {
outputTextArea.setForeground(Color.BLACK);
} else if (e.getSource() == green) {
outputTextArea.setForeground(Color.GREEN);
}
}
}
}
Loading…
Cancel
Save