public void onIncomingFileTransfer(DccFileTransfer transfer) {
                int choix =
                                JOptionPane.showConfirmDialog(null, transfer.getNick() + " veux vous envoyer " + transfer.getFile() + ", voulez vous accepter?", transfer.getNick()
                                                + " -  DCC transfer", JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);
                if (choix == JOptionPane.OK_OPTION) {
                        File dir = new File("Download");
                        if (!dir.exists() && !dir.isDirectory()) {
                                dir.mkdir();
                        }
                        transfer.receive(new File("Download" + File.separator + transfer.getFile().getName()), true);
                        DarkIRC.currentTransfer = transfer;
                } else {
                        transfer.close();
                }
        }