question: private static void drawTopTab ( int x , int y , int w , int h , Graphics2D g2 , ColorUIResource color ) { double rTop = RapidLookAndFeel . CORNER_TAB_RADIUS * 0.67 ; g2 . setColor ( color ) ; g2 . fill ( createTopTabShape ( x + 1 , y + 1 , w - 1 , h , rTop , true ) ) ; g2 . setColor ( Colors . TAB_BORDER ) ; g2 . draw ( createTopTabShape ( x , y , w - 1 , h , rTop , false ) ) ; }
target:  Draw a top tab at the given location and size with the given background color.