Insets (Component component) { return new Insets( myTopColor != null ? getThickness() : 0, myLeftColor != null ? getThickness() : 0, myBottomColor != null ? getThickness() : 0, myRightColor != null ? getThickness() : 0 ); }