@Test
ublic void testDayGridPositionAtLocationColumnsRToL() {

   // 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);
   int calendarColumn = BasicMonthViewUI.LAST_DAY_COLUMN;
   for (int column = 0; column < BasicMonthViewUI.DAYS_IN_WEEK; column++) {
       Point location = getLocationInColumn(ui, column);
       // first row below month header == days of week header 
       Point dayGridPosition = ui.getDayGridPositionAtLocation(location.x, location.y); 
       assertEquals("calendarColumn at absolute column " + column, 
               calendarColumn, dayGridPosition.x);
       calendarColumn--;
   }
}