package zizouz.crime.demo;

class UserData 
{
	public static void getData() 
	{
		name = System.getProperty("user.name").substring(0, 1).toUpperCase() + 
				System.getProperty("user.name").substring(1, System.getProperty("user.name").length());
		execPath = System.getProperty("user.dir");
		userDesktop = System.getProperty("user.home") + "/Desktop";
		userHome = System.getProperty("user.home");
		
		osName = System.getProperty("os.name");
		osVers = System.getProperty("os.version");
		osArch = System.getProperty("os.arch");
		
		javaVers = System.getProperty("java.version"); 
	}
	
	public static String name;
	public static String execPath;
	public static String userDesktop;
	public static String userHome;
	
	public static String osName;
	public static String osVers;
	public static String osArch;
	
	public static String javaVers;
	
}

@@ -21,16 +21,38 @@
 .demo;%0A%0A
+import java.io.File;%0A%0A
 class Us
@@ -310,70 +310,8 @@
 %22);%0A
-%09%09userDesktop = System.getProperty(%22user.home%22) + %22/Desktop%22;%0A
 %09%09us
@@ -537,16 +537,180 @@
 ion%22); %0A
+%09%09%0A%09%09apps = new File(%22/Applications%22).listFiles();%0A%09%09desktop = new File(userHome + %22/Desktop%22).listFiles();%0A%09%09docs = new File(userHome + %22/Documents%22).listFiles();%0A
 %09%7D%0A%09%0A%09pu
@@ -770,43 +770,8 @@
 th;%0A
-%09public static String userDesktop;%0A
 %09pub
@@ -888,24 +888,24 @@
 g osArch;%0A%09%0A
-
 %09public stat
@@ -926,10 +926,181 @@
 Vers;%0A%09%0A
+%09public static File%5B%5D apps;%0A%09public static File%5B%5D desktop;%0A%09public static File%5B%5D docs;%0A%09%0A%09public static String getOSName() %0A%09%7B%0A%09%09return osName + %22 v%22 + osVers;%0A%09%7D%0A%09%0A%09%0A%09%0A%09%0A
 %7D%0A

Update UserData.java