A java program which can mask part of the screen