Index photo pop up java