@Override
 public boolean equals(Object obj) {
   if (obj == this) {
     return true;
   }
   if (!(obj instanceof DoubleLineDialFrame)) {
     return false;
   }
   DoubleLineDialFrame that = (DoubleLineDialFrame) obj;
   if (!PaintUtilities.equal(getBackgroundPaint(), that.getBackgroundPaint())) {
     return false;
   }
   if (!PaintUtilities.equal(getForegroundPaint(), that.getForegroundPaint())) {
     return false;
   }
   if (!PaintUtilities.equal(getInnerForegroundPaint(), that.getInnerForegroundPaint())) {
     return false;
   }
   if (getRadius() != that.getRadius()) {
     return false;
   }
   if (!this.getStroke().equals(that.getStroke())) {
     return false;
   }
   return super.equals(obj);
 }