Changes target for jPanel