List list = new Vector();
for (int c=0;c<playerInfoObjects.size();c++) {
PlayerInfo playerInfo = (PlayerInfo)playerInfoObjects.get(c);
if (playerInfo.getCanEdit()) {
Component component = panel.getComponent(((c+1)*2)-1);
if (component instanceof JTextComponent) {
playerInfo.setInfo( ((JTextComponent)component).getText() );
}
// SO FAR THIS IS THE ONLY TYPE WE KNOW ABOUT
list.add(playerInfo);