private void initGUI() {
getContentPane().setX(getContentPane().getX() - 1);
getContentPane().setY(getContentPane().getY() + 1);
setTitle("Player Information");
// Player Image
m_playerImage = new Label(Player.getSpriteFactory().getSprite(
Direction.Down, false, false,
GameClient.getInstance().getOurPlayer().getSprite()));
m_playerImage.setSize(52, 52);
m_playerImage.setLocation(2, 2);
getContentPane().add(m_playerImage);
// Trainer data labels
m_trainerEXP = new Label("Trainer Lv: "
+ GameClient.getInstance().getOurPlayer().getTrainerLevel());
m_breedingEXP = new Label("Breeding Lv: "
+ GameClient.getInstance().getOurPlayer().getBreedingLevel());
m_fishingEXP = new Label("Fishing Lv: "
+ GameClient.getInstance().getOurPlayer().getFishingLevel());
m_coordinatingEXP = new Label("Corrdinating Lv: "
+ GameClient.getInstance().getOurPlayer()
.getCoordinatingLevel());
m_trainerEXP.pack();
m_breedingEXP.pack();
m_fishingEXP.pack();
m_coordinatingEXP.pack();
m_trainerEXP.setForeground(Color.white);
m_breedingEXP.setForeground(Color.white);
m_fishingEXP.setForeground(Color.white);
m_coordinatingEXP.setForeground(Color.white);
m_trainerEXP.setLocation(m_playerImage.getWidth() + 2, 2);
m_breedingEXP.setLocation(m_playerImage.getWidth() + 2, 2
+ m_trainerEXP.getY() + m_trainerEXP.getHeight());
m_fishingEXP.setLocation(m_playerImage.getWidth() + 2, 2
+ m_breedingEXP.getY() + m_breedingEXP.getHeight());
m_coordinatingEXP.setLocation(m_playerImage.getWidth() + 2, 2
+ m_fishingEXP.getY() + m_fishingEXP.getHeight());
getContentPane().add(m_trainerEXP);
getContentPane().add(m_breedingEXP);
getContentPane().add(m_fishingEXP);
getContentPane().add(m_coordinatingEXP);
// Start the badge labels
m_kantoLbl = new Label("Kanto:");
m_johtoLbl = new Label("Johto:");
if (ALL_REGIONS)
m_hoennLbl = new Label("Hoenn:");
if (ALL_REGIONS)
m_sinnohLbl = new Label("Sinnoh:");
if (ALL_REGIONS)
m_orangeLbl = new Label("Orange Islands:");
if (ALL_REGIONS)
m_extrasLbl = new Label("Others:");
// Pack the badge labels
m_kantoLbl.pack();
m_johtoLbl.pack();