@Test
ublic void testDayGridPositionAtLocationWeekHeaderRToL() {

   // 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, true);
   // right == week header
   Point location = getLocationInColumn(ui, BasicMonthViewUI.DAYS_IN_WEEK); 
   Point dayGridPosition = ui.getDayGridPositionAtLocation(location.x, location.y);
   assertEquals("weeks of year column in RTL", BasicMonthViewUI.WEEK_HEADER_COLUMN, 
           dayGridPosition.x);
}