windowProperties = new JFritzProperties();
	public JFritz(Main main) {		this.main = main;		windowProperties = new JFritzProperties();		if (JFritzUtils.parseBoolean(Main.getProperty(				"option.createBackup", "false"))) { //$NON-NLS-1$,  //$NON-NLS-2$			Main.doBackup();		}		// make sure there is a plus on the country code, or else the number		// scheme won't work		if (!Main.getProperty("country.code").startsWith("+"))			Main.setProperty("country.code", "+"					+ Main.getProperty("country.code"));		loadSounds();		String osName = System.getProperty("os.name"); //$NON-NLS-1$		Debug.msg("Operating System : " + osName); //$NON-NLS-1$		if (osName.toLowerCase().startsWith("mac os")) //$NON-NLS-1$			HostOS = "Mac"; //$NON-NLS-1$		else if (osName.startsWith("Windows")) //$NON-NLS-1$			HostOS = "Windows"; //$NON-NLS-1$		else if (osName.equals("Linux")) { //$NON-NLS-1$			HostOS = "Linux"; //$NON-NLS-1$		}		Debug.msg("JFritz runs on " + HostOS); //$NON-NLS-1$		if (HostOS.equals("Mac")) { //$NON-NLS-1$			new MacHandler(this);		}		// loads various country specific number settings and tables		loadNumberSettings();		fritzBox = new FritzBox(Main				.getProperty("box.address", "192.168.178.1"), Encryption //$NON-NLS-1$,  //$NON-NLS-2$				.decrypt(Main.getProperty("box.password", Encryption //$NON-NLS-1$						.encrypt(""))), Main.getProperty("box.port", "80")); //$NON-NLS-1$		sipprovider = new SipProviderTableModel();		sipprovider.loadFromXMLFile(Main.SAVE_DIR + SIPPROVIDER_FILE);		callerlist = new CallerList();		phonebook = new PhoneBook(PHONEBOOK_FILE);		callerlist.setPhoneBook(phonebook);		phonebook.setCallerList(callerlist);		phonebook.loadFromXMLFile(Main.SAVE_DIR + PHONEBOOK_FILE);		callerlist.loadFromXMLFile(Main.SAVE_DIR + CALLS_FILE);		phonebook.findAllLastCalls();		callerlist.findAllPersons();		callMonitorList = new CallMonitorList();		callMonitorList.addCallMonitorListener(new DisplayCallsMonitor());		callMonitorList.addCallMonitorListener(new DisconnectMonitor());		if (Main				.getProperty(						"lookandfeel", UIManager.getSystemLookAndFeelClassName()).endsWith("MetalLookAndFeel")) { //$NON-NLS-1$,  //$NON-NLS-2$			JFrame.setDefaultLookAndFeelDecorated(true);			JDialog.setDefaultLookAndFeelDecorated(true); // uses L&F			// decorations for			// dialogs		}	}