Пример #1
0
 @Override
 public void setBorder(iPlatformBorder border) {
   if (borderComponentPainter != null) {
     borderComponentPainter.setBorder(border);
     ((FrameView) view).setBorder(border);
   } else {
     super.setBorder(border);
   }
 }
Пример #2
0
  @Override
  public void dispose() {
    if (borderComponentPainter != null) {
      borderComponentPainter.dispose();
      borderComponentPainter = null;
    }

    super.dispose();
  }