private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        // TODO add your handling code here:
        client.sendMessage("ROOMCHAT@" + roomId + "@" + transfer(jTextPane1.getText()) + "@" + client.frame.getTitle());
        pos.removeAllElements();
        pic.removeAllElements();
        jTextPane1.setText("");
    }//GEN-LAST:event_jButton1ActionPerformed