how to make scope in canvas ( J2SE )

Hello again, my question is how can i make something like that but in canvas:

i just want to fill a rect in the whole screen and i wan to see the level through a hole;

well thats the idea, thanks in advance, friends…