Package org.pokenet.client.ui.base

Examples of org.pokenet.client.ui.base.ListBox


      m_spriteDisplay = new Label();
      m_spriteDisplay.setSize(124, 204);
      m_spriteDisplay.setLocation(105, 20);
      getContentPane().add(m_spriteDisplay);

      m_spriteList = new ListBox(m_sprites, false) {
        @Override
        protected void itemClicked(String itemName, int idx) {
          super.itemClicked(itemName, idx);
          m_mustLoadSprite = m_respath+"res/characters/" + itemName + ".png";
        }
View Full Code Here


    String[] m_items = new String[GameClient.getInstance().getOurPlayer().getItems().size()];
    for (int i = 0; i < m_items.length; i++) {
      m_items[i] = GameClient.getInstance().getOurPlayer().getItems().get(i).getItem().getName();
    }
   
    m_sellList = new ListBox(m_items);
   
    m_sellButton = new Button[1];
    m_sellButton[0] = new Button("Sell");
    m_sellButton[0].setFont(GameClient.getFontLarge());
    m_sellButton[0].setSize(getWidth(), 35);
View Full Code Here

TOP

Related Classes of org.pokenet.client.ui.base.ListBox

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.