modified floating frame method in UserClientGUI class