Limit the size of opening dialogs to the size of the screen + general code review
Done for dialog boxes.
I also review the code and applied the following minor changes to make the code easier to understand and maintain:
remove unused variables, methods and imports Use generics for collections Use interfaces (and not implementations) for the declarations of collections