Package com.kolakcc.loljclient.model.swing

Examples of com.kolakcc.loljclient.model.swing.StatusComboBoxModel


    this.view.onlineList.addMouseListener(this);
   
    this.offlineModel = new FriendsListModel(FriendsListModel.ShowMode.OFFLINE);
    this.view.offlineList.setModel(offlineModel);
   
    this.view.presenceComboBox.setModel(new StatusComboBoxModel());
    this.view.presenceStatusField.getDocument().addDocumentListener(this);
    this.connectionWorker.execute();
   
  }
View Full Code Here


    splitter.setBottomComponent(bottomPanel);
    this.add(splitter,BorderLayout.CENTER);
   
      JPanel presencePanel = new JPanel(new GridLayout(2,1));
      presenceComboBox = new JComboBox<Status>();
      presenceComboBox.setModel(new StatusComboBoxModel());
      presenceComboBox.setRenderer(new StatusComboBoxRenderer());
      presencePanel.add(presenceComboBox);
      presenceStatusField = new JTextField();
      presencePanel.add(presenceStatusField);
      this.add(presencePanel,BorderLayout.SOUTH);
View Full Code Here

TOP

Related Classes of com.kolakcc.loljclient.model.swing.StatusComboBoxModel

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.