I started doing it with the existing code and tried it and there were focus issues. I think those buttons and drop-down menus need to be redone using swing JMenu and JMenuBar first.