a java swing program to manager local photoes