Package net.alteiar.campaign.player.plugin

Examples of net.alteiar.campaign.player.plugin.PluginCellRenderer


    List<PluginInfo> gameSystems = getAvaibleGameSystem();

    gameSystemList = new MyList<PluginInfo>(gameSystems);
    gameSystemList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    gameSystemList.setLayoutOrientation(JList.VERTICAL);
    gameSystemList.setCellRenderer(new PluginCellRenderer());
    gameSystemList.setSelectedIndex(0);

    JScrollPane listScroller = new JScrollPane(gameSystemList);
    listScroller.setPreferredSize(new Dimension(PREFERED_PLAYER_LIST_WIDTH,
        PREFERED_PLAYER_LIST_HEIGHT));
View Full Code Here

TOP

Related Classes of net.alteiar.campaign.player.plugin.PluginCellRenderer

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.