trayIcon.displayMessage(JFritz.PROGRAM_NAME, msg, TrayIcon.INFO_MESSAGE_TYPE);
if (trayIcon != null) trayIcon.displayMessage(JFritz.PROGRAM_NAME, msg, TrayIcon.INFO_MESSAGE_TYPE);
    public static void infoMsg(String msg) {        switch (Integer.parseInt(JFritz.getProperty("option.popuptype", "1"))) {        case 0: { // No Popup            break;        }        case 1: {            MessageDlg msgDialog = new MessageDlg();            msgDialog.showMessage(msg);            break;        }        case 2: {            trayIcon.displayMessage(JFritz.PROGRAM_NAME, msg,                    TrayIcon.INFO_MESSAGE_TYPE);            break;        }        }    }