<commit_before>/*
 * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */

package net.java.sip.communicator.impl.gui.main;

import javax.swing.*;

import net.java.sip.communicator.impl.gui.customcontrols.*;
import net.java.sip.communicator.impl.gui.i18n.*;
import net.java.sip.communicator.impl.gui.main.call.*;
import net.java.sip.communicator.impl.gui.main.contactlist.*;

/** 
 * The <tt>MainTabbedPane</tt> is a <tt>SIPCommTabbedPane</tt> that contains
 * three tabs: the <tt>ContactListPanel</tt>, the call list panel and
 * the <tt>DialPanel</tt>.
 * 
 * @author <NAME>
 */
public class MainTabbedPane extends SIPCommTabbedPane {

    private DialPanel dialPanel = new DialPanel();

    private ContactListPanel contactListPanel;

    /**
     * Constructs the <tt>MainTabbedPane</tt>.
     * 
     * @param parent The main application frame.
     */
    public MainTabbedPane(MainFrame parent) {
        super(false, false);

        this.setCloseIcon(false);
        this.setMaxIcon(false);

        contactListPanel = new ContactListPanel(parent);

        dialPanel.setPhoneNumberCombo(parent.getCallManager()
                .getPhoneNumberCombo());

        this.addTab(Messages.getString("contacts"), contactListPanel);
        this.addTab(Messages.getString("callList"), new JPanel());
        this.addTab(Messages.getString("dial"), dialPanel);
        
    }

    /**
     * Returns the <tt>ContactListPanel</tt> contained in this tabbed pane.
     * @return the <tt>ContactListPanel</tt> contained in this tabbed pane.
     */
    public ContactListPanel getContactListPanel() {
        return contactListPanel;
    }
}<commit_msg>the call list panel is added<commit_after>/*
 * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */

package net.java.sip.communicator.impl.gui.main;

import net.java.sip.communicator.impl.gui.customcontrols.*;
import net.java.sip.communicator.impl.gui.i18n.*;
import net.java.sip.communicator.impl.gui.main.call.*;
import net.java.sip.communicator.impl.gui.main.contactlist.*;

/** 
 * The <tt>MainTabbedPane</tt> is a <tt>SIPCommTabbedPane</tt> that contains
 * three tabs: the <tt>ContactListPanel</tt>, the call list panel and
 * the <tt>DialPanel</tt>.
 * 
 * @author <NAME>
 */
public class MainTabbedPane extends SIPCommTabbedPane {

    private DialPanel dialPanel;

    private CallListPanel callHistoryPanel;
    
    private ContactListPanel contactListPanel;

    /**
     * Constructs the <tt>MainTabbedPane</tt>.
     * 
     * @param parent The main application frame.
     */
    public MainTabbedPane(MainFrame parent) {
        super(false, false);

        this.setCloseIcon(false);
        this.setMaxIcon(false);

        contactListPanel = new ContactListPanel(parent);

        callHistoryPanel = new CallListPanel(parent);
        
        dialPanel = new DialPanel(parent);
                
        this.addTab(Messages.getString("contacts"), contactListPanel);
        this.addTab(Messages.getString("callList"), callHistoryPanel);
        this.addTab(Messages.getString("dial"), dialPanel);
        
    }

    /**
     * Returns the <tt>ContactListPanel</tt> contained in this tabbed pane.
     * @return the <tt>ContactListPanel</tt> contained in this tabbed pane.
     */
    public ContactListPanel getContactListPanel() {
        return contactListPanel;
    }
    
    /**
     * Returns the <tt>CallListPanel</tt> contained in this tabbed pane.
     * @return the <tt>CallListPanel</tt> contained in this tabbed pane
     */
    public CallListPanel getCallListPanel()
    {
        return this.callHistoryPanel;
    }
}
{'fraction_non_alphanumeric': 0.11487907465825446, 'fraction_numerical': 0.0010515247108307045, 'mean_word_length': 3.144880174291939, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5999663', 'n_tokens_mistral': 1171, 'n_tokens_neox': 1125, 'n_words': 258}