Buggy code:
} else if ( clientPlayer . getAvatar ( ) . getAvatarName ( ) . equals ( "Charmander" ) ) { headPictureLabel = new JLabel ( new ImageIcon ( "src//Charmander.gif" ) ) ; } else if ( clientPlayer . getAvatar ( ) . getAvatarName ( ) . equals ( "Squirtle" ) ) { headPictureLabel = new JLabel ( new ImageIcon ( "src//Squirtle.gif" ) ) ; } int xPo = 10 ; int yPo = 10 ; int touxiangSize = 130 ; bgHeadViewLabel . setBounds ( xPo , yPo , touxiangSize , touxiangSize ) ; headPictureLabel . setBounds ( xPo , yPo , touxiangSize , touxiangSize ) ; headPictureLabel . setBorder ( BorderFactory . createMatteBorder ( 5 , 5 , 5 , 5 , Color . BLACK ) ) ; this . bgHeadViewLabel = bgHeadViewLabel ; this . headPictureLabel = headPictureLabel ; JLabel dieLabel = null ; JLabel attackLabel = null ; JLabel levelUpLabel_2 = null ; JLabel levelUpLabel_3 = null ; if ( ( clientPlayer . getPlayerLevel ( ) ) == 1 ) { if ( clientPlayer . getAvatar ( ) . getAvatarName ( ) . equals ( "Bulbasaur" ) ) { dieLabel = new JLabel ( new ImageIcon ( "src//Bulbasaur_die.gif" ) ) ; attackLabel = new JLabel ( new ImageIcon ( "src//Bulbasaur_attack.gif" ) ) ; levelUpLabel_2 = new JLabel ( new ImageIcon ( "src//Charmander_upto_level2.gif" ) ) ; levelUpLabel_3 = new JLabel ( new ImageIcon ( "src//Charmander_upto_level3.gif" ) ) ; } else if ( clientPlayer . getAvatar ( ) . getAvatarName ( ) . equals ( "Charmander" ) ) { dieLabel = new JLabel ( new ImageIcon ( "src//Charmander_die.gif" ) ) ; attackLabel = new JLabel ( new ImageIcon ( "src//Charmander_attack.gif" ) ) ; levelUpLabel_2 = new JLabel ( new ImageIcon ( "src//Charmander_upto_level2.gif" ) ) ; levelUpLabel_3 = new JLabel ( new ImageIcon ( "src//Charmander_upto_level3.gif" ) ) ; } else if ( clientPlayer . getAvatar ( ) . getAvatarName ( ) . equals ( "Squirtle" ) ) { dieLabel = new JLabel ( new ImageIcon ( "src//Squirtle_die.gif" ) ) ; attackLabel = new JLabel ( new ImageIcon ( "src//Squirtle_attack.gif" ) ) ; levelUpLabel_2 = new JLabel ( new ImageIcon ( "src//Charmander_upto_level2.gif" ) ) ; levelUpLabel_3 = new JLabel ( new ImageIcon ( "src//Charmander_upto_level3.gif" ) ) ; } } else if ( ( clientPlayer . getPlayerLevel ( ) ) == 2 ) { if ( clientPlayer . getAvatar ( ) . getAvatarName ( ) . equals ( "Bulbasaur" ) ) { dieLabel = new JLabel ( new ImageIcon ( "src//Bulbasaur_die.gif" ) ) ; attackLabel = new JLabel ( new ImageIcon ( "src//Bulbasaur_attack.gif" ) ) ; levelUpLabel_2 = new JLabel ( new ImageIcon ( "src//Charmander_upto_level2.gif" ) ) ; levelUpLabel_3 = new JLabel ( new ImageIcon ( "src//Charmander_upto_level3.gif" ) ) ; } else if ( clientPlayer . getAvatar ( ) . getAvatarName ( ) . equals ( "Charmander" ) ) { dieLabel = new JLabel ( new ImageIcon ( "src//Charmander_die.gif" ) ) ; attackLabel = new JLabel ( new ImageIcon ( "src//Charmander_attack.gif" ) ) ; levelUpLabel_2 = new JLabel ( new ImageIcon ( "src//Charmander_upto_level2.gif" ) ) ; levelUpLabel_3 = new JLabel ( new ImageIcon ( "src//Charmander_upto_level3.gif" ) ) ; } else if ( clientPlayer . getAvatar ( ) . getAvatarName ( ) . equals ( "Squirtle" ) ) { dieLabel = new JLabel ( new ImageIcon ( "src//Squirtle_die.gif" ) ) ; attackLabel = new JLabel ( new ImageIcon ( "src//Squirtle_attack.gif" ) ) ; levelUpLabel_2 = new JLabel ( new ImageIcon ( "src//Charmander_upto_level2.gif" ) ) ; levelUpLabel_3 = new JLabel ( new ImageIcon ( "src//Charmander_upto_level3.gif" ) ) ; } } else { if ( clientPlayer . getAvatar ( ) . getAvatarName ( ) . equals ( "Bulbasaur" ) ) { dieLabel = new JLabel ( new ImageIcon ( "src//Bulbasaur_die.gif" ) ) ; attackLabel = new JLabel ( new ImageIcon ( "src//Bulbasaur_attack.gif" ) ) ; levelUpLabel_2 = new JLabel ( new ImageIcon ( "src//Charmander_upto_level2.gif" ) ) ; levelUpLabel_3 = new JLabel ( new ImageIcon ( "src//Charmander_upto_level3.gif" ) ) ; } else if ( clientPlayer . getAvatar ( ) . getAvatarName ( ) . equals ( "Charmander" ) ) { dieLabel = new JLabel ( new ImageIcon ( "src//Charmander_die.gif" ) ) ; <START_BUG> attackLabel = new JLabel ( new ImageIcon ( "src//Charmander_attack_level3.gif" ) ) ; <END_BUG> levelUpLabel_2 = new JLabel ( new ImageIcon ( "src//Charmander_upto_level2.gif" ) ) ; levelUpLabel_3 = new JLabel ( new ImageIcon ( "src//Charmander_upto_level3.gif" ) ) ; } else if ( clientPlayer . getAvatar ( ) . getAvatarName ( ) . equals ( "Squirtle" ) ) { dieLabel = new JLabel ( new ImageIcon ( "src//Squirtle_die.gif" ) ) ; attackLabel = new JLabel ( new ImageIcon ( "src//Squirtle_attack.gif" ) ) ; levelUpLabel_2 = new JLabel ( new ImageIcon ( "src//Charmander_upto_level2.gif" ) ) ; levelUpLabel_3 = new JLabel ( new ImageIcon ( "src//Charmander_upto_level3.gif" ) ) ; } } int diexPo = 400 ; int dieyPo = 100 ; int dieOrAttackLabelSize = 300 ; dieLabel . setBounds ( diexPo , dieyPo , ( dieOrAttackLabelSize * 2 ) , dieOrAttackLabelSize ) ; attackLabel . setBounds ( diexPo , dieyPo , ( dieOrAttackLabelSize * 2 ) , dieOrAttackLabelSize ) ; levelUpLabel_2 . setBounds ( diexPo , dieyPo , ( dieOrAttackLabelSize * 2 ) , dieOrAttackLabelSize ) ; levelUpLabel_3 . setBounds ( diexPo , dieyPo , ( dieOrAttackLabelSize * 2 ) , dieOrAttackLabelSize ) ; this . dieLabel = dieLabel ; this . attackLabel = attackLabel ; this . lvlupLabel_2 = levelUpLabel_2 ; this . lvlupLabel_3 = levelUpLabel_3 ; } public void printInformation ( Player player ) { } private void changeShakeLimit ( ) { } class GamePanel extends JPanel { protected void paintComponent ( Graphics g ) { } } public Location nextSquareLocation ( Player player , int steps ) { } @ Override public void keyTyped ( KeyEvent e ) { } @ Override public void keyPressed ( KeyEvent e ) { }

Fix:
attackLabel = new JLabel ( new ImageIcon ( "src//Charmander_attack_lvl3.gif" ) ) ;