hi.. i want to save the JPanel graphics works as a jpg image. any idea?