@Override
    @NotNull
    Dimension getSize(final @NotNull @NonNls String s, final @NotNull FontMetrics fm, final int maxWidth) {
      final int width = fm.stringWidth(s) + ROUND_VALUE * 2;
      return new Dimension(Math.min(width, maxWidth), fm.getHeight() + 4);
    }
@Override
    @NotNull
    Dimension getSize(final @NotNull @NonNls String s, final @NotNull FontMetrics fm, final int maxWidth)