}
@Override
protected void drawResizeBorder(final Canvas canvas, final Size size) {
if (resizing) {
final Shape shape = new Shape(0, 0);
final int resizeMarkerSize = 10;
shape.addVector(resizeMarkerSize, 0);
shape.addVector(0, resizeMarkerSize);
shape.addVector(-resizeMarkerSize, -resizeMarkerSize);
final Color color = Toolkit.getColor(ColorsAndFonts.COLOR_SECONDARY3);
final int height = size.getHeight();
final int width = size.getWidth();
canvas.drawSolidShape(shape, width - resizeMarkerSize, height, color);
canvas.drawRectangle(0, 0, width, height, color);