-Changed to use JFrames