* Added tooltip to the flag in the player avatar.

This commit is contained in:
LevelX2 2015-08-02 12:41:29 +02:00
parent efb5e06e57
commit 8dca887fad

View file

@ -240,6 +240,7 @@ public class PlayerPanelExt extends javax.swing.JPanel {
if (!player.getUserData().getFlagName().equals(flagName)) {
flagName = player.getUserData().getFlagName();
this.avatarFlag.setIcon(CountryUtil.getCountryFlagIcon(flagName));
this.avatarFlag.setToolTipText(CountryUtil.getCountryName(flagName));
avatar.repaint();
}
}