mirror of
https://github.com/Akomry/sae302_applicom.git
synced 2025-12-06 11:43:53 +00:00
feat(message): Création message quand bouton send cliqué
This commit is contained in:
parent
63c165f024
commit
c2ef4108cb
2 changed files with 30 additions and 6 deletions
|
|
@ -7,6 +7,8 @@ import java.io.File;
|
|||
import java.io.IOException;
|
||||
import java.util.Objects;
|
||||
|
||||
import static rtgre.chat.ChatApplication.LOGGER;
|
||||
|
||||
public class Contact {
|
||||
protected String login;
|
||||
protected java.awt.Image avatar;
|
||||
|
|
@ -52,9 +54,9 @@ public class Contact {
|
|||
try {
|
||||
this.avatar = avatarFromLogin(banques_avatars, login);
|
||||
} catch (IOException e) {
|
||||
System.out.println("Impossible de créer l'utilisateur " + login);
|
||||
System.out.println(e.getMessage());
|
||||
System.out.println(banques_avatars);
|
||||
LOGGER.severe("Impossible de créer l'utilisateur " + login);
|
||||
LOGGER.severe(e.getMessage());
|
||||
LOGGER.severe(banques_avatars.getAbsolutePath());
|
||||
}
|
||||
this.connected = connected;
|
||||
this.currentRoom = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue