* Chat panel - Fixed that the text of the chat panel was changable by the user.

This commit is contained in:
LevelX2 2014-09-13 21:06:28 +02:00
parent 1f41f3013a
commit bc5dc80f95

View file

@ -244,7 +244,10 @@ public class ChatPanel extends javax.swing.JPanel {
text.append(getColoredText(userColor, username + userSeparator));
}
text.append(getColoredText(textColor, ManaSymbols.replaceSymbolsWithHTML(message, ManaSymbols.Type.PAY) + "\n"));
this.txtConversation.setEditable(true);
this.txtConversation.append(text.toString());
this.txtConversation.setEditable(false);
}
private String getColoredText(String color, String text) {