Refreshes jframe after actions