With my program, I used main.overridedirect(true) to remove the bar from the top of my window. When I click anywhere on my screen that isn\'t the program, the w
main.overridedirect(true)