@@ -0,0 +1,518 @@
+package myjava;%0Aimport java.awt.Desktop;%0Aimport java.io.File;%0Aimport java.io.IOException;%0Apublic class ImageOpener %7B%0A%09%0A%09  public void RunMe(String location) %7B%0A%09    if (location != null) %7B%0A%09    %09if (!location.trim().isEmpty()) %7B%0A%09    %09%09File f = new File(location);%0A%09%09%09   if (f.exists()) %7B%0A%09%09%09%09   Desktop dt = Desktop.getDesktop();%0A%09%09%09%09    try %7B%0A%09%09%09%09%09%09dt.open(f);%0A%09%09%09%09%09%7D catch (IOException e) %7B%0A%09%09%09%09%09%09// TODO Auto-generated catch block%0A%09%09%09%09%09%09e.printStackTrace();%0A%09%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%09%7D%09    %09%09%09    %0A%09%09%7D%09   %09%09  %09    %0A%09 %7D%0A%09 %09 %0A%7D%0A

Create ImageOpener.java