@Override
	public void setOnline(boolean online) {
		if(online){
			if(onlineImage == null && onlineImageIcon == null && onlineImageURL == null){
				onlineImageURL = getClass().getResource("/images/user online 32x32.png");
				onlineImage = Toolkit.getDefaultToolkit().getImage(onlineImageURL);
				Image newimg = onlineImage.getScaledInstance( 16, 16,  java.awt.Image.SCALE_SMOOTH );
				onlineImageIcon = new ImageIcon(newimg);
			}
			onlineStatusLabel.setIcon(onlineImageIcon);
		}
		if(!online){
			if(offlineImage == null && offlineImageIcon == null && offlineImageURL == null){
				offlineImageURL = getClass().getResource("/images/user offline 32x32.png");
				offlineImage = Toolkit.getDefaultToolkit().getImage(offlineImageURL);
				Image newimg = offlineImage.getScaledInstance( 16, 16,  java.awt.Image.SCALE_SMOOTH );
				offlineImageIcon = new ImageIcon(newimg);
			}
			onlineStatusLabel.setIcon(offlineImageIcon);
		}
	}