Package org.spoutcraft.launcher.skin.components

Examples of org.spoutcraft.launcher.skin.components.FutureImage


      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);
View Full Code Here

TOP

Related Classes of org.spoutcraft.launcher.skin.components.FutureImage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.