Examples of LobbyListEntry


Examples of org.iremake.common.network.messages.lobby.LobbyListEntry

    /**
     *
     * @return
     */
    public LobbyListEntry getLobbyEntry() {
        return new LobbyListEntry(name, context.getIP(id), joined);
    }
View Full Code Here

Examples of org.iremake.common.network.messages.lobby.LobbyListEntry

        // cell renderer (use defaultlistcellrenderer based on jlabel)
        list.setCellRenderer(new OurListCellRenderer(new OurListCellRenderer.ListCellInfoProvider() {
            @Override
            public String getToolTip(Object value) {
                // cast to TitleListEntry, we know it's one
                LobbyListEntry entry = (LobbyListEntry) value;
                return String.format("origin: %s, joined: %s", entry.ip, entry.joined);
            }
        }));

        return list;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.