Getting the value of a key
 
 Registry reg = new Registry();
		
 String s = (String)reg.readKey(
 	Registry.HKEY_LOCAL_MACHINE, 
	"SOFTWARE\\Clients\\Mail\\Mailsomething\\shell\\open\\command");
		
 System.out.println("returnvalue=" + s);


Changing the value of a key
 
String launch = "mymailer" + /n mailto:%1";

Registry registry = new Registry();

registry.addKey(
	Registry.HKEY_CLASSES_ROOT,
	"mailto\\shell\\open\\command",
	launch);