try {
languageResource = ResourceBundle.getBundle("RSCLanguageResource", Locale.getDefault ());
} catch (MissingResourceException e) {
languageResource = ResourceBundle.getBundle("RSCLanguageResource", new Locale ("en","US"));
}
socket = new RSCSocket ("127.0.0.1", 6000);
socket.addListener (MessageType.MESSAGE, new ActionListener () {
@Override
public void process (Message message) {
String newMessage = String.join (":", message.getName (), message.getMessage ());
jTextArea1.append (newMessage+"\n");