@Test
ublic void testDayGridPositionAtLocationDayHeader() {

   // This test will not work in a headless configuration.
   if (GraphicsEnvironment.isHeadless()) {
       LOG.fine("cannot run test - headless environment");
       return;
   }
   BasicMonthViewUI ui = getRealizedMonthViewUI(ComponentOrientation.RIGHT_TO_LEFT);
   Point location = getLocationInRow(ui, 0);
   // first row below month header == days of week header 
   Point dayGridPosition = ui.getDayGridPositionAtLocation(location.x, location.y); 
   assertEquals("first row below header must be day column header", 
           BasicMonthViewUI.DAY_HEADER_ROW, dayGridPosition.y);
}