question: private void fillInsideDraw ( Graphics g , int x , int y , int w , int h ) { g . setColor ( Color . BLACK ) ; g . drawRect ( x , y , w , h ) ; g . setColor ( Color . LIGHT_GRAY ) ; g . fillRect ( x + 1 , y + 1 , w - 1 , h - 1 ) ; }
target:  Fill the area only inside the boundary (no overlap)