Thread downloadThread = new Thread(futureImage, "Image download thread");
downloadThread.setDaemon(true);
downloadThread.start();
// Create future image, using default mc avatar for now
FutureImage userImage = new FutureImage(getDefaultImage());
callback.setCallback(userImage);
DynamicButton userButton = new DynamicButton(this, userImage, 44, accountName, userName);
userButton.setFont(minecraft.deriveFont(14F));
userImage.setRepaintCallback(userButton);
userButton.setBounds((FRAME_WIDTH - 90) * (i + 1) / (users + 1), (FRAME_HEIGHT - 110) / 2 , 90, 90);
contentPane.add(userButton);
userButton.setActionCommand(IMAGE_LOGIN_ACTION);
userButton.addActionListener(this);