public ConversationWindow(String title, ConversationPanel firstPanel) {
    tabbedPanel = new JTabbedPane();
    addConversationPanel(title, firstPanel);

    this.setContentPane(tabbedPanel);
    this.setIconImage(new ImageIcon(APP_ICON_16).getImage());
    this.addWindowListener(new WindowClosing());
    this.setSize(new Dimension(DEFAULT_WIDTH, DEFAULT_HEIGHT));
    this.setTitle(tabbedPanel.getTitleAt(tabbedPanel.getSelectedIndex()));
    this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
    this.setLocationRelativeTo(null);
    this.setVisible(true);
  }