@@ -0,0 +1,1330 @@
+package com.henriknero.chatapplication;%0A%0Aimport java.util.Date;%0A%0A/**%0A * Created by henri on 2017-03-21.%0A */%0A%0Apublic class ChatMessage %7B%0A    private String messageText;%0A    private String messageUser;%0A    private long messageTime;%0A%0A    public ChatMessage(String messageText, String messageUser) %7B%0A        this.messageText = messageText;%0A        this.messageUser = messageUser;%0A        this.messageTime = new Date().getTime();%0A    %7D%0A%0A    public ChatMessage(String messageText, String messageUser, long messageTime) %7B%0A        this.messageText = messageText;%0A        this.messageUser = messageUser;%0A        this.messageTime = messageTime;%0A    %7D%0A%0A    public ChatMessage() %7B%0A    %7D%0A%0A    public String getMessageText() %7B%0A        return messageText;%0A    %7D%0A%0A    public void setMessageText(String messageText) %7B%0A        this.messageText = messageText;%0A    %7D%0A%0A    public String getMessageUser() %7B%0A        return messageUser;%0A    %7D%0A%0A    public void setMessageUser(String messageUser) %7B%0A        this.messageUser = messageUser;%0A    %7D%0A%0A    public long getMessageTime() %7B%0A        return messageTime;%0A    %7D%0A%0A    public void setMessageTime(long messageTime) %7B%0A        this.messageTime = messageTime;%0A    %7D%0A%7D%0A/**%0A * Links that were used during process%0A * -----------------------------------%0A * https://www.youtube.com/watch?v=Xn0tQHpMDnM&t=1532s%0A */%0A

Create ChatMessage.java