code: @Override
      protected boolean isBefore(int x, int y, Rectangle innerAlloc)
      {
          // System.err.println("isBefore: " + innerAlloc + " my bounds " +
          // box.getAbsoluteBounds());
          // System.err.println("XY: " + x + " : " + y);
          innerAlloc.setBounds(box.getAbsoluteBounds());
          if (majorAxis == View.X_AXIS)
          {
              return (x < innerAlloc.x);
          }
          else
          {
              return (y < innerAlloc.y);
          }
      }
docs: Determines if a point falls before an allocated region.
  
  @param x
  the X coordinate >= 0
  @param y
  the Y coordinate >= 0
  @param innerAlloc
  the allocated region; this is the area inside of the insets
  @return true if the point lies before the region else false