|
@ -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); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |