jTextField5.setText ("");
}//GEN-LAST:event_jTextField5ActionPerformed
private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
String message = jTextField5.getText ();
Message msg = new Message (message, Date.from (Instant.now ()), "asdf", MessageType.MESSAGE);
ByteBuffer buffer = StringByteBufferConverter.ByteBufferFromString (msg.toString ()) ;
try {
socket.write (buffer) ;
} catch (IOException ex) {
Logger.getLogger (ClientFrame.class.getName())
.log (Level.SEVERE, null, ex);