private void jList1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jList1MouseClicked
        // TODO add your handling code here:
        if (evt.getClickCount() == 2) {
             int index = jList1.locationToIndex(evt.getPoint());
             System.out.println("Double clicked on Item " + index);
             String uid=lm.getUidAt(index);
            try {
                receiver=(InterClient) service.getRemoteObject().getRuserOnLine().get(uid);
                //service.getRemoteObject().sendMessage(envoi.getText(),receiver, service.getClient());
               Chat c= new Chat(service.getClient(),receiver);
            } catch (RemoteException ex) {
                Logger.getLogger(MessageUI.class.getName()).log(Level.SEVERE, null, ex);
            }
          }
    }//GEN-LAST:event_jList1MouseClicked