public void onPrivateMessage(String sender, String login, String hostname, String message) {
                // check if exist
                if (sender.equalsIgnoreCase(DarkIRC.currentChan.name)) {
                        GUIMain.add_line("<" + sender + ">:" + message);
                } else {
                        boolean Noexist = true;
                        for (int i = 0; i < DarkIRC.channelsList.size(); i++) {
                                if (DarkIRC.channelsList.get(i).name.equalsIgnoreCase(sender)) {
                                        Noexist = false;
                                        Logs.makeLog(DarkIRC.channelsList.get(i) + ".log", Logs.readLog(DarkIRC.channelsList.get(i) + ".log") + "<" + sender + ">:" + message + "\n");
                                        GUIMain.jTabbedPane2.setForegroundAt(i, Color.RED);
                                        // GUIMain.jTabbedPane2.setIconAt(i, new
                                        // ImageIcon(this.getClass().getResource("Black-Internet-icon.png")));
                                }
                        }
                        if (Noexist) {
                                DarkIRC.channelsList.add(new Channel(sender, Channel.PRIVATE));
                                Logs.makeLog(sender + ".log", "<" + sender + ">:" + message + "\n");
                                GUIMain.jTabbedPane2.addTab(sender, null);
                                GUIMain.jTabbedPane2.setForegroundAt((DarkIRC.channelsList.size() - 1), Color.RED);
                        }
                }
        }