};
int x = 10, y = 10;
for (int i = 0; i < 6; i++){
//Show Our Pokemon for Trade
m_ourPokes[i] = new ToggleButton();
m_ourPokes[i].setSize(32, 32);
m_ourPokes[i].setVisible(true);
try {
m_ourPokes[i].setImage(GameClient.getInstance().getOurPlayer()
.getPokemon()[i].getIcon());
} catch (NullPointerException e){
m_ourPokes[i].setGlassPane(true);
}
getContentPane().add(m_ourPokes[i]);
if (i < 3)
m_ourPokes[i].setLocation(x, y);
else
m_ourPokes[i].setLocation(x + 40, y);
//Show the Other Character's Pokemon for Trade
m_theirPokes[i] = new ToggleButton();
m_theirPokes[i].setSize(32, 32);
m_theirPokes[i].setVisible(true);
m_theirPokes[i].setGlassPane(true);
getContentPane().add(m_theirPokes[i]);