Package com.kolakcc.loljclient.view.ui.renderer

Examples of com.kolakcc.loljclient.view.ui.renderer.FriendListItemRenderer


    splitter.setResizeWeight(0.5);

    JPanel topPanel = new JPanel(new BorderLayout());
    topPanel.add(new LocalizedJLabel(friendsListViewMessages, "online"), BorderLayout.NORTH);
    this.onlineList = new JList<RosterEntry>();
    this.onlineList.setCellRenderer(new FriendListItemRenderer());
    topPanel.add(new JScrollPane(this.onlineList), BorderLayout.CENTER);

    JPanel bottomPanel = new JPanel(new BorderLayout());
    bottomPanel.add(new LocalizedJLabel(friendsListViewMessages, "offline"), BorderLayout.NORTH);
    this.offlineList = new JList<RosterEntry>();
    this.offlineList.setCellRenderer(new FriendListItemRenderer());
    bottomPanel.add(new JScrollPane(this.offlineList), BorderLayout.CENTER);

    splitter.setTopComponent(topPanel);
    splitter.setBottomComponent(bottomPanel);
    this.add(splitter,BorderLayout.CENTER);
View Full Code Here

TOP

Related Classes of com.kolakcc.loljclient.view.ui.renderer.FriendListItemRenderer

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.