added a jframe for the PAM window